summaryrefslogtreecommitdiff
path: root/config.json.example
diff options
context:
space:
mode:
authorMax Wu2016-10-05 14:21:03 +0800
committerGitHub2016-10-05 14:21:03 +0800
commit4f16a26fcc88585e003a0956cbce79f756c48bd4 (patch)
tree582b3611a91f0ad40e4c77078e6f17d7d1ac1377 /config.json.example
parentf4d4eb1681f44066c8c648565dbd4b62513e00c0 (diff)
parentec8fb1931b38008e9a434244819c46d866448af3 (diff)
Merge pull request #190 from Yukaii/setup-script
Setup script for getting started
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"
+ }
+ }
+}