Merge pull request #342 from bananaappletw/master

Change database config development to sqlite, test to memory
This commit is contained in:
Max Wu 2017-02-04 15:10:41 +08:00 committed by GitHub
commit d6822dd410
1 changed files with 3 additions and 8 deletions

View File

@ -2,18 +2,13 @@
"test": { "test": {
"db": { "db": {
"dialect": "sqlite", "dialect": "sqlite",
"storage": "./db.hackmd.sqlite" "storage": ":memory:"
} }
}, },
"development": { "development": {
"domain": "localhost",
"db": { "db": {
"username": "", "dialect": "sqlite",
"password": "", "storage": "./db.hackmd.sqlite"
"database": "hackmd",
"host": "localhost",
"port": "3306",
"dialect": "mysql"
} }
}, },
"production": { "production": {