Skip to content

backend for an recipe app - learning purposes - built with python and flask

License

Notifications You must be signed in to change notification settings

jwendell/tasteat-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample backend for the recipes app

Steps to run the server

  1. git clone https://github.com/tasteat/tasteat-server && cd tasteat-server
  2. virtualenv env
  3. . env/bin/activate
  4. pip install -r requirements.txt
  5. python tasteat/app.py

Database configuration

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).

App configuration

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.

About

backend for an recipe app - learning purposes - built with python and flask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%