diff options
author | Yukai Huang | 2017-01-15 03:45:19 +0000 |
---|---|---|
committer | Yukai Huang | 2017-01-15 03:45:19 +0000 |
commit | 75e28a1d5e0476d73b59b2255aec2b7e6d0a6cdc (patch) | |
tree | 12838f33d941e8734c87383c4653b8b63bbd95a6 /README.md | |
parent | b3ed4445651b373b14217a55e6382f9025ab345a (diff) | |
parent | c0e8306961a47e7a2ba52d0445c12aaa5fe07949 (diff) |
Merge branch 't216-refactor-common' into 'frontend-next'
T216 refactor common
See merge request !5
Diffstat (limited to '')
-rw-r--r-- | README.md | 16 |
1 files changed, 3 insertions, 13 deletions
@@ -97,19 +97,9 @@ Configuration files There are some configs you need to change in the files below ``` -./config.json --- for server settings -./public/js/config.js --- for client settings +./config.json ----application settings ``` -Client settings `config.js` ---- - -| variables | example values | description | -| --------- | ------ | ----------- | -| debug | `true` or `false` | set debug mode, show more logs | -| domain | `localhost` | domain name | -| urlpath | `hackmd` | sub url path, like: `www.example.com/<urlpath>` | - Environment variables (will overwrite other server configs) --- @@ -158,7 +148,7 @@ Environment variables (will overwrite other server configs) | HMD_S3_REGION | `ap-northeast-1` | AWS S3 region | | HMD_S3_BUCKET | no example | AWS S3 bucket name | -Server settings `config.json` +Application settings `config.json` --- | variables | example values | description | @@ -207,7 +197,7 @@ Third-party integration api key settings | ------- | --------- | ----------- | | facebook, twitter, github, gitlab, dropbox, google, ldap | environment variables or `config.json` | for signin | | imgur | environment variables or `config.json` | for image upload | -| google drive, dropbox | `public/js/config.js` | for export and import | +| google drive(`google/apiKey`, `google/clientID`), dropbox(`dropbox/appKey`) | `config.json` | for export and import | Third-party integration oauth callback urls --- |