Skip to content

Latest commit

 

History

History
27 lines (13 loc) · 819 Bytes

README.md

File metadata and controls

27 lines (13 loc) · 819 Bytes

Calorie Tracker

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