Application to track the daily food calorie, made with python, flask-sqlalchemy.
1- Create a virtual environment: python -m venv env
2- Install all the dependencies and packages: pip install requirements.txt
3- Open the python shell and run these commads:
- python
- from calorietracker import create_app
- from calorietracker.extensions import db
- from calorietracker.models import log_food, Food, Log
- db.create_all(app=create_app())
- exit()
4- flask run