Getting started

You have downloaded the necessary software and cloned the project-staffing repository. So now you are ready to start hacking.

  1. Make sure your MongoDB is running.
    // Windows
    mongod.exe --dbpath "data\mongodb"
    
    // Linux
    mongod --dbpath "data/mongodb"
  2. Open a new shell and go to the project root directory. Let npm download the required dependencies:
    npm install
  3. Install sass and compass via Ruby gem and add it to your path
    gem install sass
    gem install compass
  4. Run grunt to version/minify/analyse and concatenate your static assets
    grunt
  5. Install supervisor to run your server side code.
    npm install -g supervisor
  6. Start your nodejs webapp via supervisor to run the web application.
    supervisor server.js
  7. Open your browser and navigate to http://localhost:9000/.
  8. Change some code, watch for the update in your web-browser.