Introduction
QA Dashboard is a Node.js application. It is written in coffee-script and uses mongodb database. You need to install some awesome open source tools to get the development environment up and running.
Install Node.js
(uses v0.4.5 stable package)
- $ wget http://nodejs.org/dist/node-v0.4.5.tar.gz
- $ gunzip node-v0.4.5.tar.gz
- $ tar -xf node-v0.4.5.tar
- $ cd node-v0.4.5
- $ ./configure
- $ make
- $ sudo make install
Install Node Package Manager
(uses v1.0.1rc7 stable branch)
- $ git clone git://github.com/isaacs/npm.git
- $ cd npm
- $ git checkout v1.0.1rc7
- $ sudo make install
Install mongodb
- $ sudo apt-get install mongodb
Set up QA Dashboard
QA Dashboard repository includes a default mongodb dump which can be used to populate the database.
- $ cd qa-dashboard
- $ mongorestore
Run the tests and start the server
- Run unit tests: $ ./run-nodeunit.sh
- Start the server: $ ./run-server.sh
- Browse to http://localhost:3030
The server will start in development mode using node-supervisor, which watches for code changes and restarts the server accordingly.