Jobs on Compass often timeout
[releng.git] / utils / test / vnfcatalogue / helpers / README.md
1 # Helper Directory
2
3 ## Helper to migrate database
4
5 First make sure nodejs and mysql are installed. Then use
6
7 ```bash
8 npm install bookshelf mysql knex when lodash --save
9 ```
10
11 Create a database named **vnf_catalogue**.
12 Enter the mysql credentials in migrate.js.
13
14 Then use
15
16 ```bash
17 node migrate
18 ```
19
20 If successful the script will return success message. The current script is
21 idempotent is nature, if run twice it will just return error and write nothing.
22