Add info to README.md on running unit tests locally

Change-Id: If53efabd995b1b2b5c980f4bb2c59ddab8b879df
This commit is contained in:
Timur Sufiev 2015-04-22 14:33:30 +03:00
parent 5014b8de58
commit 85ac430e3f
1 changed files with 9 additions and 0 deletions

View File

@ -26,4 +26,13 @@ cp /home/user/dev/merlin/extensions/enabled/_50_add_mistral_panel.py /usr/lib/py
``_50_add_mistral_panel.py`` you would be able to **Mistral** panel inside
the **Project** dashboard, **Orchestration** panel group.
# How to run Merlin unit-tests locally
1. ``cd /home/user/dev/merlin``
2. ``npm install``
* If npm is not installed yet, run ``sudo apt-get install npm`` (let's assume you're
using Ubuntu) and ``sudo apt-get install nodejs-legacy``
3. ``node_modules/.bin/bower install``
4. ``sudo npm install -g grunt-cli``
5. ``grunt test:unit``
For more info please refer to https://wiki.openstack.org/wiki/Merlin