Sample backend for the recipes app
git clone https://github.com/tasteat/tasteat-server && cd tasteat-server
virtualenv env
. env/bin/activate
pip install -r requirements.txt
python tasteat/app.py
You need a MySQL database for this project. Scripts for table creation/population reside in the doc
directory. After having the database setup, adjust the config files (see below) to match the database installation (server ip/user/pass/db).
You can set the environment variable TASTEAT_CONFIG
to one of the values:
development
(default if not set)production
Then you can edit the config file development.cfg
or production.cfg
inside the config
directory. The file that will be used is pointed by the value of the TASTEAT_CONFIG
variable.