The DBMS used in this program is MySQL or PostgreSQL, make sure your computer installed with MySQL/PostgreSQL
- Modify the database username and password in config.py
For mysql: 'mysql+pymysql://root:[email protected]:3306/database_name'
For postgresql: 'postgresql://postgres:password@localhost:5433/database_name'
- Reset elements in database by:
''' from app import create_app, db app = create_app() app.app_context().push() db.create_all()
-
pip install all dependencies in the requirements.txt
-
pip install password-validator
-
pip install pymysql or pip install pygresql
-
run python wsgi.py