Fast builds, live reload, GitHub Pages ready
yarn install
cd docs && bundle install
_config.yml
, change values for url
and custom_settings
.master branch /docs folder
in your repository settings.Development (local)
Open 3 terminals and run the following commands (run in parallel).
yarn run jekyll-dev
- Generates site on changes to /public
.yarn run watch-assets
- Compiles SASS and images on changes to /public/assets
.yarn run browser-sync
- Starts web server hosting content from /public
at http://localhost:3000
and injects changes.Your site is now available at http://localhost:3000
Production
yarn run build-assets
- Cleans, builds and minifies assets to /docs/assets
.