Rajaram/Vinkesh| updated readme file
This commit is contained in:
parent
5baba05e0c
commit
71f8abe02a
@ -1,14 +1,16 @@
|
||||
# Running Melange Tests
|
||||
Use the run_tests.sh from the root nova folder. It doesnt run Melange tests by default.
|
||||
1) Create the required databases:
|
||||
>mysql -uroot -p -e "CREATE DATABASE melange_test;CREATE DATABASE melange"
|
||||
2) To run melange tests:
|
||||
>run_tests.sh melange
|
||||
>run_tests.sh melange.tests.unit
|
||||
>run_tests.sh melange.tests.functional
|
||||
|
||||
# Running Melange App
|
||||
>mysql -uroot -p -e "CREATE DATABASE melange"
|
||||
>cd <nova_root>
|
||||
>cp etc/melange/melange.conf.sample ~/melange.conf
|
||||
>bin/melange-manage db_sync
|
||||
>bin/melange
|
||||
By default melange uses sqlite, to use Mysql
|
||||
1) Create the mysql db manually
|
||||
Eg: mysql -uroot -p -e "CREATE DATABASE melange_test;CREATE DATABASE melange"
|
||||
2) Change sql_connection key in melange.conf to point to that db.
|
||||
Eg: sql_connection = mysql://<user>:<password>@localhost/melange
|
||||
|
Loading…
x
Reference in New Issue
Block a user