Create a template of the settings file

pull/35/head
Peter 'Pita' Martischka 2011-06-02 12:15:02 +01:00
parent fd4efc3b31
commit 280b4ab9c7
3 changed files with 9 additions and 2 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
node_modules
settings.json

View File

@ -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

View File

@ -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,