Install dependencies (through virtualenv
or with sudo
):
$ pip install -U -r requirements.txt
Create skeleton files:
$ ./install.sh
If you want to use LDAP authentication (currently the only supported method),
you will have to install the python-ldap
package.
Included is a sample config.py file for running with gunicorn. You can start it as such from the pyboard directory
$ gunicorn -c config.py main:app
note: you will have to either run as root (not recommended) or use something like authbind to bind to port 80.
If you want to simply run the development server, use this:
$ python main.py