17 lines
630 B
Plaintext
17 lines
630 B
Plaintext
# Running Melange Tests
|
|
Use the run_tests.sh from the root nova folder. It doesnt run Melange tests by default.
|
|
>run_tests.sh melange
|
|
>run_tests.sh melange.tests.unit
|
|
>run_tests.sh melange.tests.functional
|
|
|
|
# Running Melange App
|
|
>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
|