This is the backend/API for my songbook -- see the frontend's README for more info.
Note: This is the API server. The web frontend is AnotherKamila/songbook-web.
- requires Python 3.4
- first-time setup:
- create virtualenv:
pyvenv ./venv
(orpyvenv-3.4 ./venv
) - activate virtualenv:
- bash, zsh:
source venv/bin/activate
- fish:
. venv/bin/activate.fish
- csh, tcsh:
source venv/bin/activate.csh
- bash, zsh:
- Install dependencies:
pip install -r requirements.txt
- create virtualenv:
- always do stuff inside the venv (don't forget to activate it)
- start server with
python ./server.py
(orheroku local
)- automatically reloads when sources change
- requires the
REDISCLOUD_URL
environment variable to be set to your Redis URL - read
database.md
for the data model and how stuff is stored