Skip to content

cat-m/honors-checksheet-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Honors Project Web Application

This a Python/Flask web application.

Necessary depenencies:

  • Flask
  • Flask-SQLAlchemy
  • Flask-MySQL
  • Flask-Login
  • Flask-MySQL
  • Flask-Bootstrap
  • Flask-Mail
  • datetime
  • Pandas

MySQL Database setup

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published