iccsw / iccsw.doc.ic.ac.uk.2018

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iccsw.doc.ic.ac.uk/2018

Powered by Node.js and Wintersmith.

Getting started

Installing dependencies

Install NodeJS then run the following in root of the source tree.

$ npm install --no-optional

This will read the package.json file and install the required dependencies locally into a node_modules folder.

Install grunt globally

$ npm install -g grunt-cli

Testing

Run the following in the root of the source tree.

$ grunt preview

This will launch a mini webserver hosting the generated content which you can use to test your changes. It will automatically regenerate the pages when you modify files so you don't need to start/stop this when you change source files.

The URL is http://localhost:8080/2018/index.html.

Deploying

Run the following in the root of the source tree.

$ grunt deploy

About


Languages

Language:CSS 88.0%Language:HTML 7.9%Language:JavaScript 4.2%