ConfigΒΆ

Default config:

{
 "admin_pass": "password",
 "backlog": 50,
 "bind": "0.0.0.0",
 "db_path": "db",
 "port": 9876,
 "server": "auto"
}
admin_pass
Some database functions are protected by HTTP BASIC auth.
backlog
In short how many requests will be processed in the same time. For more refer to TCP listen() Backlog
bind
An address to listen on.
db_path
Set here the database path. If you don’t have database yet, you should set it as empty, then you will be abble to create database later.
port
When you will set it to 0 random port will be selected by your OS.
server
Can be auto, wsgiref or gevent. In auto mode it will try first to use gevent and when failed will switch to wsgiref. To use gevent you have to install 1.x gevent branch.

When server starts, it will print on stdout json encoded config values back (in case when you used some auto things).