A web application that execute requests over the network and stores data in a database.
- Python 3.8
- Flask 2.2.2
- PostgreSQL 14.5
- Bootstrap 5.2.3
Use the package manager pip:
pip install --user git+https://github.com/Un1que11/python-project-83.git
Clone repository and use poetry:
git clone https://github.com/Un1que11/python-project-83.git
cd python-project-83
make build
make install
-
Create PostgreSQL database with cheatsheet (database.sql)
-
Create .env file and add variables or add them straight into your environment with export
DATABASE_URL={provider}://{user}:{password}@{host}:{port}/{db} SECRET_KEY='secret_key'
-
Run make dev for debugging (WSGI debug='True'), or make start for production (gunicorn)