This project requires the following to run:
This project makes use of the following conventions
The following steps should be taken to install the project environment locally.
- Open project directory in terminal and run
npm installto install all grunt plugins. Seepackage.jsonfor details. - Install
git flowlocally to the project, using the following branch names:masterdevelophotfixrelease
You are now ready to work on the project.
When you want to make a change to the project code,
-
Start a new
featureorhotfixbranch (See Git Flow) -
In the project root folder, run the
gruntcommand to- open the local version of the site at http://localhost:3001/
- start the watch task, which will
- monitor the project files for changes, refreshing the local site as required
- compile changes to your Sass files into CSS
-
Make your changes to the code
-
When you are ready to create a numbered release,
- Start a new
releasebranch (See Git Flow & Semantic Versioning) - Run
grunt bump:{major|minor|patch}to increment the version number throughout the project (See Semantic Versioning) - Run
grunt buildto- output production-ready build files to
/release.
- output production-ready build files to
- Start a new
See Gruntfile.js for more details.