Create a template of the settings file
parent
fd4efc3b31
commit
280b4ab9c7
|
@ -1 +1,2 @@
|
||||||
node_modules
|
node_modules
|
||||||
|
settings.json
|
|
@ -19,5 +19,9 @@ if [ -d "../bin" ]; then
|
||||||
cd "../"
|
cd "../"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "settings.json" ]; then
|
||||||
|
cp settings.json.template settings.json
|
||||||
|
fi
|
||||||
|
|
||||||
cd "node"
|
cd "node"
|
||||||
node server.js
|
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,
|
"port" : 9001,
|
Loading…
Reference in New Issue