summaryrefslogtreecommitdiff
path: root/config.json.example
diff options
context:
space:
mode:
authorYukai Huang2016-10-05 10:58:05 +0800
committerYukai Huang2016-10-05 10:58:05 +0800
commit0e63fe1fa0e1cfd4a2bb8d052514e64e762056e5 (patch)
treee7eb5acf7d6cbf6781483e5f6eed4fadfcdafac6 /config.json.example
parentca59d866284bcd5ad45dea90ce628dde00bcd346 (diff)
Create example config
Diffstat (limited to 'config.json.example')
-rw-r--r--config.json.example52
1 files changed, 52 insertions, 0 deletions
diff --git a/config.json.example b/config.json.example
new file mode 100644
index 00000000..22fd5c92
--- /dev/null
+++ b/config.json.example
@@ -0,0 +1,52 @@
+{
+ "development": {
+ "domain": "localhost",
+ "db": {
+ "username": "",
+ "password": "",
+ "database": "hackmd",
+ "host": "localhost",
+ "port": "3306",
+ "dialect": "mysql"
+ }
+ },
+ "production": {
+ "domain": "localhost",
+ "db": {
+ "username": "",
+ "password": "",
+ "database": "hackmd",
+ "host": "localhost",
+ "port": "5432",
+ "dialect": "postgres"
+ },
+ "facebook": {
+ "clientID": "change this",
+ "clientSecret": "change this"
+ },
+ "twitter": {
+ "consumerKey": "change this",
+ "consumerSecret": "change this"
+ },
+ "github": {
+ "clientID": "change this",
+ "clientSecret": "change this"
+ },
+ "gitlab": {
+ "baseURL": "change this",
+ "clientID": "change this",
+ "clientSecret": "change this"
+ },
+ "dropbox": {
+ "clientID": "change this",
+ "clientSecret": "change this"
+ },
+ "google": {
+ "clientID": "change this",
+ "clientSecret": "change this"
+ },
+ "imgur": {
+ "clientID": "change this"
+ }
+ }
+}