summaryrefslogtreecommitdiff
path: root/config.json.example
diff options
context:
space:
mode:
authorbananaappletw2017-02-04 13:31:37 +0800
committerbananaappletw2017-02-04 15:09:03 +0800
commit0e6d1bbd6d301e6ccf43c8e71cead7c6c71f2dac (patch)
treebae7d42f504a4921a584637d707e63dc834b54cd /config.json.example
parent15bf2b6da859f2ab73fab5838689291830005c66 (diff)
Change database config development to sqlite, test to memory
Diffstat (limited to 'config.json.example')
-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": {