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 installin the terminal to install the dev dependencies - Run
npm run initin 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 buildin the terminal to create a compiled copy of the site at/dist - Run
npm run servein the terminal for a development instance