Getting started
You have downloaded the necessary software and cloned the project-staffing repository. So now you are ready to start hacking.
-
Make sure your MongoDB is running.
// Windows
mongod.exe --dbpath "data\mongodb"
// Linux
mongod --dbpath "data/mongodb"
-
Open a new shell and go to the project root directory.
Let npm download the required dependencies:
npm install
-
Install sass and compass via Ruby gem and add it to your path
gem install sass
gem install compass
-
Run grunt to version/minify/analyse and concatenate your static assets
grunt
-
Install supervisor to run your server side code.
npm install -g supervisor
-
Start your nodejs webapp via supervisor to run the web application.
supervisor server.js
- Open your browser and navigate to http://localhost:9000/.
- Change some code, watch for the update in your web-browser.