Commit 8d0552dc authored by mohoff's avatar mohoff

chore: set knex default to production environment

parent 238bcb17
Pipeline #21249 passed with stages
in 20 seconds
process.env.BBK_RUNTIME_ENVIRONMENT =
process.env.BBK_RUNTIME_ENVIRONMENT || 'development'
process.env.BBK_RUNTIME_ENVIRONMENT || 'production'
const config = require('@brickblock/strong-config').load()
module.exports = {
......
......@@ -9,10 +9,11 @@
"db:migrate:make": "knex migrate:make --",
"db:migrate:rollback": "knex migrate:rollback",
"db:seed": "knex seed:run",
"----- AUTOGENERATED DB SECTION END -----": "----- THIS SECTION IS MAINTAINED BY BBK-DEVTOOLS -----"
"----- AUTOGENERATED DB SECTION END -----": "----- THIS SECTION IS MAINTAINED BY BBK-DEVTOOLS -----",
"start": "export NODE_ENV=development BBK_RUNTIME_ENVIRONMENT=development; nodemon ./src/index.js | bunyan -o short"
},
"dependencies": {
"knex": "^0.17.6",
"pg": "^7.11.0"
}
}
\ No newline at end of file
}
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