This is the 3CS company homepage
For first time use, run npm install -g grunt-cli
Then install project build dependencies: npm install
Run grunt --help
for a list of available tasks.
For first time use, you should run grunt-curl
to fetch third party dependencies.
Run grunt clean staticHandlebars replace
, the pages will appear in the gen
directory.
Pages live in templates/html
and each page has context data provided by a .json
file of the same name.
Data common to all pages belongs in base.json
.
Pages are made up of Handlebars partials.
These live in the templates/html/partials
directory.
You can copy to your GitHub IO pages directory using the command make copy
To serve the web pages locally:
grunt connect watch
Navigate to the following URL: http://localhost:8000
Generated pages are in /gen
Making changes to the files automatically rebuilds the site and if you are using a browser with the livereload extension the changes will automatically be seen in the pages.