Website to suggest mankind’s “firsts” on Mars. Created for the coursework of the HCI module (2013/2014, Semester 2) at Oxford Brookes University.
- Install Github
- Install Node
- Clone the repository on Mac or Windows
- Install Node packages
- Open up the terminal/console
- Change to the directory that contains the code for this repository
- Type
npm install
- Markup written in Jade should be put in the
src/markupdirectory. - Scripts written in CoffeeScript should be put in the
src/scriptsdirectory. - Styles written in SCSS should be put in the
src/stylesdirectory.
- Open up the terminal/console
- Change to the directory that contains the code for this repository
- Type
grunt - Type
node server.js(May prompt security window in Windows.) - Open
127.0.0.1:8000/index.htmlin Google Chrome. (May throw err "Cannot find module 'express'". Update npm with 'npm install')
Note: you may want to use grunt watch so that you don't have to keep doing this process (this watches files waiting for you to save them and then does the build process) and you may also want to use a live page reloader so that you can view the page whilst you work.