A single sign-on application
$ pip install cython
$ cd /path/to/workspace
$ git clone [email protected]:Carrene/panda.git
$ cd panda
$ pip install -r requirements-dev.txt
$ pip install -e .
$ panda autocompletion install
$ deactivate && workon panda
db:
url: postgresql://postgres:postgres@localhost/panda_dev
test_url: postgresql://postgres:postgres@localhost/panda_test
administrative_url: postgresql://postgres:postgres@localhost/postgres
messaging:
default_messenger: restfulpy.messaging.SmtpProvider
smtp:
host: mail.carrene.com
port: 587
username: [email protected]
password: <smtp-password>
local_hostname: carrene.com
$ panda db create --drop --basedata --mockup
And or
$ panda db create --drop
$ panda [-c path/to/config.yml] db --drop
$ panda [-c path/to/config.yml] db --create
Or, you can add --drop
to drop the previously created database: TAKE CARE ABOUT USING THAT
$ panda [-c path/to/config.yml] db create --drop
$ pytest
- Using python builtin http server
$ panda [-c path/to/config.yml] serve
- Gunicorn
$ ./gunicorn