This a Python/Flask web application.
- Flask
- Flask-SQLAlchemy
- Flask-MySQL
- Flask-Login
- Flask-MySQL
- Flask-Bootstrap
- Flask-Mail
- datetime
- Pandas
For the database, you will need to have MySQL installed and running. You need to log in as the root user, then create a new user and database for the project.
You will then want to grant all privileges on the database to the database user you created.
You will also need to create an instance directory in the main directory, and create config.py inside of it. In this file, you will add the secret key and database URI for your database.
Example instance/config.py:
SECRET_KEY = 'secret_key'
SQLALCHEMY_DATABASE_URI = 'mysql://user:password@localhost/database'
Finally, you will need to run flask db init to initialize the database.
>> flask db init
Run flask db migrate to perform the first sqlalchemy database migration.
>> flask db migrate
And flask db upgrade to commit the migration.
>> flask db upgrade