summaryrefslogtreecommitdiff
path: root/bin/setup
diff options
context:
space:
mode:
authorWu Cheng-Han2016-10-10 16:25:51 +0800
committerWu Cheng-Han2016-10-10 16:25:51 +0800
commitbf4c6d021c353f9f6779ba813dab8d44b17addbf (patch)
tree6c762ffcac05c34b1f6601eb65b71af705c88b84 /bin/setup
parent917537ddbfcf21b93ceaadb89fd356e93565d0f9 (diff)
Extract config.js from common.js to make client setting file clean and also make upgrade easier
Diffstat (limited to '')
-rwxr-xr-xbin/setup6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/setup b/bin/setup
index 66279e81..8cd20dc7 100755
--- a/bin/setup
+++ b/bin/setup
@@ -25,8 +25,8 @@ if [ ! -f config.json ]; then
cp config.json.example config.json
fi
-if [ ! -f publis/js/common.js ]; then
- cp public/js/common.js.example public/js/common.js
+if [ ! -f publis/js/config.js ]; then
+ cp public/js/config.js.example public/js/config.js
fi
if [ ! -f .sequelizerc ]; then
@@ -43,7 +43,7 @@ Edit the following config file to setup hackmd server and client.
Read more info at https://github.com/hackmdio/hackmd#configuration-files
* config.json -- server config
-* public/js/common.js -- client config
+* public/js/config.js -- client config
* .sequelizerc -- db config
EOF