To run this workflow, you should have the following installed globally. If you are on Mac, consider using Homebrew to prevent permission issues.
The package comes with linter files to maintain code style and you are encouraged to have the below linters installed.
- Run
npm install
in the terminal to install the dev dependencies - Run
npm run init
in the terminal to initialise build process - Edit base configurations in
/src/site/_data/siteconfig.js
- Set up environment based config files in
/src/site/_data
- Run
npm run build
in the terminal to create a compiled copy of the site at/dist
- Run
npm run serve
in the terminal for a development instance