Skip to content
Snippets Groups Projects
Commit 33e178ab authored by Austin King's avatar Austin King
Browse files

Merge pull request #1561 from mozilla/issue-1560

can now set MYSQL_PASSWORD in env
parents e53ade9a f5a010cd
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,13 @@
Developer tests should be run before committing code. There are two test suites.
# `npm test`
- `npm test`
# Load http://localhost:10002/test/index.html into a world wide web browser
- Load http://localhost:10002/test/index.html into a world wide web browser
Note that for mysql, you will need to grant `browserid` privileges to create tables.
You can then run the mysql suite with, e.g.,
NODE_ENV=test_mysql MYSQL_USER=browserid MYSQL_PASSWORD=browserid npm test
......@@ -93,7 +93,10 @@ var conf = module.exports = convict({
format: 'string?',
env: 'DATABASE_NAME'
},
password: 'string?',
password: {
format: 'string?',
env: 'MYSQL_PASSWORD'
},
host: 'string?',
max_query_time_ms: {
format: 'integer = 5000',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment