cemmartin / python_project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Read Me!

Major dependencies:
python3
postgresql

Start Guide:
pip3 install flask
pip3 install flask-sqlalchemy
pip3 install python-dotenv
pip3 install flask-migrate
pip3 install psycopg2

brew install postgresql@14 (this will only work on mac)

createdb bakery_app

In app.py:
app.config["SQLALCHEMY_DATABASE_URI"] = "postgresql://<your_postgres_user>@localhost:5432/bakery_app"

To run the application:
flask db init
flask db migrate
flask db upgrade
flask seed
flask run

About


Languages

Language:Python 58.6%Language:Jinja 33.8%Language:CSS 5.6%Language:Mako 1.9%Language:Shell 0.1%