Skip to content
gelnior edited this page Oct 15, 2012 · 3 revisions

Default configuration values

main:
    port: 8000
    debug: False
    timezone: "Europe/Paris"
    path: "/home/newebe/newebe/"
security:
    cookie_key: "61oETzKXQAGaYdkL5gEmGeJJFuYh7EQnp2XdTP1o/Vo="
    certificate: "/home/newebe/newebe/certs/server.crt"
    private_key: "/home/newebe/newebe/certs/server.key"
db:
    name: "newebe"
    uri: "http://127.0.0.1:5984"

Give a config file to use through command line

newebe_server.py --configfile="/mydir/config.yaml"

Key/value description

main:
    port: it is the port on which newebe run
    debug: set to True to enable debug mode
    timezone: Timezone used to display dates
    path: path where newebe stuff lives (certificates, indexes and config file)
security:
    cookie_key: key used to encrypt your cookie
    certificate: path to your SSH certificate
    private_key: path to your SSH private key
db:
    name: database name
    uri: URL where Couchd lives
Clone this wiki locally