Create a template of the settings file
This commit is contained in:
parent
fd4efc3b31
commit
280b4ab9c7
|
@ -1 +1,2 @@
|
|||
node_modules
|
||||
node_modules
|
||||
settings.json
|
|
@ -19,5 +19,9 @@ if [ -d "../bin" ]; then
|
|||
cd "../"
|
||||
fi
|
||||
|
||||
if [ ! -f "settings.json" ]; then
|
||||
cp settings.json.template settings.json
|
||||
fi
|
||||
|
||||
cd "node"
|
||||
node server.js
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
/*
|
||||
This file must be valid JSON. But comments are allowed
|
||||
This file must be valid JSON. But comments are allowed
|
||||
|
||||
Please edit settings.json, not settings.json.template
|
||||
*/
|
||||
{
|
||||
"port" : 9001,
|
Loading…
Reference in New Issue