- Clone the repository and
cd
into the directory - Install npm (node) modules:
npm install
- Install bower dependencies
bower install
- Start gulp:
gulp
- View in browser at http://localhost:3000
- Start up the server:
node server.js
- View in browser at http://localhost:8080
- Optionally use
forever
to keep the server running after shell is close
Woah, stop right there. Npm should never require sudo, you've got yourself a permissions issue!
Fix this by executing sudo chown -R $(whoami) ~/.npm
to give npm the right permissions to your system.
If the gulp
command is not recognised, it's probably never been installed on your machine.
Use npm install -g gulp
and npm install -g gulp-sass
to make these modules avaliable from the command line.
This is probably because gulp-sass only supports up to node v0.10.33. See bellow:
Gulp-sass requires node v0.10.33, check you have the right version using: `node -v'