Commit 6e87288e authored by Juha's avatar Juha

Config tuning to make local dev & ci work more fluently

parent 884cbd53
Pipeline #24020732 passed with stage
......@@ -2,32 +2,34 @@
"development": {
"username": "postgres",
"password": null,
"database": "article_development",
"host": "127.0.0.1",
"database": "database_dev",
"host": "db-auth",
"dialect": "postgres",
"timezone": "utc",
"logging": true,
"operatorsAliases": false
"operatorsAliases": false,
"seederStorage": "sequelize"
},
"continuous_integration": {
"username": "postgres",
"password": null,
"database": "article_ci",
"database": "database_ci",
"host": "127.0.0.1",
"dialect": "postgres",
"timezone": "utc",
"logging": false,
"operatorsAliases": false
"operatorsAliases": false,
"seederStorage": "sequelize"
},
"production": {
"username": "postgres",
"password": null,
"database": "article_production",
"database": "database_prod",
"host": "db-auth",
"dialect": "postgres",
"timezone": "utc",
"logging": false,
"use_env_variable": "DATABASE_URL",
"operatorsAliases": false
"operatorsAliases": false,
"seederStorage": "sequelize"
}
}
This diff is collapsed.
......@@ -4,8 +4,8 @@
"description": "Authorisation back end service",
"main": "index.js",
"scripts": {
"start": "node index.js",
"start:dev": "node-dev index.js",
"start": "sequelize db:migrate && sequelize db:seed:all && node index.js",
"start:dev": "sequelize db:migrate && sequelize db:seed:all && node-dev index.js",
"test": "grunt",
"test:unit": "grunt unit_tests_only"
},
......@@ -30,7 +30,8 @@
"restify": "^7.2.0",
"restify-errors": "^6.0.0",
"restify-jwt-community": "^1.0.5",
"sequelize": "^4.37.8"
"sequelize": "^4.37.8",
"sequelize-cli": "^4.0.0"
},
"devDependencies": {
"eslint": "^3.19.0",
......@@ -44,7 +45,6 @@
"jest-cli": "^23.0.0",
"jest-junit": "^1.5.1",
"node-dev": "^3.1.3",
"sequelize-cli": "https://registry.npmjs.org/sequelize-cli/-/sequelize-cli-4.0.0.tgz",
"supertest": "^3.0.0"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment