This readme is work in progress.
NOTICE: If you have set up QA Dashboard back in the day and are now considering upgrading, it is worth to notice that current version is not compatible with the previous one. You should either keep your current installation or set up from scratch. Notice also that old QA Reports installations are not compatible with new QA Dashboard.
- Install Node.js:
$ git clone git://github.com/creationix/nvm.git ~/nvm $ . ~/nvm/nvm.sh $ echo ". ~/nvm/nvm.sh" >> ~/.bashrc $ nvm install v0.10 $ nvm alias default 0.10
- Clone and setup:
$ git clone firstname.lastname@example.org:leonidas/qa-dashboard.git $ cd qa-dashboard $ npm install $ npm run bower
npm run dev-startin one shell, and
npm run watchin other.
Login at http://localhost:3030/
Get development data
QA Dashboard does not currently have any data to put to database for development purposes. One option to get some is to use QA Reports exporter in
export/qa-reports. It will fetch reports from http://qa-reports.qa.leonidasoy.fi and send them to your local QA Dashboard.
- Get a token for the guest user by opening http://localhost:3030/user/token
- Put the token in
- Install and run:
$ cd export/qa-reports $ npm install $ npm start
Ctrl-Conce you have enough reports. The script fetches reports in batches of 20 and it starts from the oldest report found.
Deployed with Capistrano. You'll need to install Ruby, then run
gem install bundler, and then
Once you've set up
cap production deploy:setup, answer the questions and copy the created files on their places on production environment, and then run
cap production deploy.