Inspired by William Sieghart and his work entitled "The Poetry Pharmacy".
This will be a learning exercise using Flask, SQLAlchemy, and general front-end and back-end design.
- Make use of Object Relationship Manager to create the relationship between the python classes and the sqlite database table.
- Make use of Flask to support the front end framework.
- Make use of SQLAlchemy to manage database creation and migration.
- Create a virtual environment and activate it.
python3 -m venv pharm-venv
. thepoetrypharmacy_com/pharm-venv/bin/activate
1.1 Verifiy you are using the correct python using the command which python
. It should have an output of:
.../ThePoetryPharmacy/thepoetrypharmacy_com/pharm-venv/bin/python
- Upgrade pip
pip install --upgrade pip setuptools
- Get the requirements
pip install -r requirements.txt
- Run the App
python app.py