This is the main website of Rosem web packages hosted on Github Pages.
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
For detailed explanation on how things work, check out Nuxt.js docs.
You can publish the website on a custom domain with autogenerated SSL certificate in 2 ways:
- As a
www
subdomain (www.example.com) - As an apex domain (example.com)
The following DNS configuration should be used for your custom domain:
Type | Name | Data | TTL |
---|---|---|---|
A | @ | 185.199.108.153 | 1 hour |
A | @ | 185.199.109.153 | 1 hour |
A | @ | 185.199.110.153 | 1 hour |
A | @ | 185.199.111.153 | 1 hour |
CNAME | www | <organization>.github.io. | 1 hour |
If you faced with some troubles (no SSL certificate or the site is not loading):
- verify your DNS configuration
- remove your custom domain in repository settings and apply it again
- wait some time (up to 24 hours)
- or refer to this troubleshooting tips
Open the deploy.sh
file:
- Update the user name and email used for
git
- Update the URL of a GitHub repository
Run the following command:
./deploy.sh
It will run the npm run build
command and push forcibly all compiled files in dist
folder to master
branch.
- PWA content updating
- CI
- Shorthand terminologies
- Shorthand terminology priority
- Must know
- Good to know
- Advanced / complex
- Specific (ex: Windows or Unix only)
- Old / deprecated
- Shorthand terminology priority
- Unsplash backgrounds
- Packages documentation