summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wu2017-02-04 15:10:41 +0800
committerGitHub2017-02-04 15:10:41 +0800
commitd6822dd410f0356322c2cdb402a95ccbbdeeb208 (patch)
treebae7d42f504a4921a584637d707e63dc834b54cd
parent15bf2b6da859f2ab73fab5838689291830005c66 (diff)
parent0e6d1bbd6d301e6ccf43c8e71cead7c6c71f2dac (diff)
Merge pull request #342 from bananaappletw/master
Change database config development to sqlite, test to memory
Diffstat (limited to '')
-rw-r--r--config.json.example11
1 files changed, 3 insertions, 8 deletions
diff --git a/config.json.example b/config.json.example
index 80662b0f..9ee00c09 100644
--- a/config.json.example
+++ b/config.json.example
@@ -2,18 +2,13 @@
"test": {
"db": {
"dialect": "sqlite",
- "storage": "./db.hackmd.sqlite"
+ "storage": ":memory:"
}
},
"development": {
- "domain": "localhost",
"db": {
- "username": "",
- "password": "",
- "database": "hackmd",
- "host": "localhost",
- "port": "3306",
- "dialect": "mysql"
+ "dialect": "sqlite",
+ "storage": "./db.hackmd.sqlite"
}
},
"production": {