Create a template of the settings file

This commit is contained in:
Peter 'Pita' Martischka 2011-06-02 12:15:02 +01:00
parent fd4efc3b31
commit 280b4ab9c7
3 changed files with 9 additions and 2 deletions

35
settings.json.template Normal file
View file

@ -0,0 +1,35 @@
/*
This file must be valid JSON. But comments are allowed
Please edit settings.json, not settings.json.template
*/
{
"port" : 9001,
//The Type of the database. You can choose between sqlite and mysql
"dbType" : "sqlite",
//the database specific settings
"dbSettings" : {
"filename" : "../var/sqlite.db"
},
/* An Example of MySQL Configuration
"dbType" : "mysql",
"dbSettings" : {
"user" : "root",
"host" : "localhost",
"password": "",
"database": "store"
},
*/
//if true, every http request will be loged to stdout
"logHTTP" : true,
//the default text of a pad
"defaultPadText" : "Welcome to Etherpad Lite!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nEtherpad Lite on Github: http:\/\/j.mp/ep-lite\n",
/* if true, all css & js will be minified before sending to the client. This will improve the loading performance massivly,
but makes it impossible to debug the javascript/css */
"minify" : true
}