- Teacher gradebook
- Up to 8 grade categories
- Lowest grade dropping
- Dragscroll for smoother navigation
- Graphs showing statistics for assignment grades and total grade
- Student grade viewer
- Breakdown by category
- Shows dropped grades
- What if grades
- (optional) Set up virtualenv (see below)
- Install dependencies:
(sudo) pip install -r requirements.txt
- Install postgres (see below)
- Create database (see below)
- Import database structure:
python manage.py db upgrade
- Basic db setup:
python set_up_db.py
- Run app:
./develop.sh
(or see below)
(sudo) pip install virtualenv
virtualenv env
source env/bin/activate
Mac/Windows: Link
Linux: Install through package manager
psql -U postgres
CREATE DATABASE grades
CREATE DATABASE gradestest
(for testing)
export APP_SETTINGS=config.DevelopmentConfig
export DATABASE_URL="postgresql://localhost/grades"
export SECRET_KEY= ___
(replace with actual secret key)
export FLASK_APP=app.py
flask run
- Make edits in models.py.
- (first time)
python manage.py db init
- (first time)
python set_up_db.py
python manage.py db migrate
python manage.py db upgrade
heroku config:set APP_SETTINGS=config.ProductionConfig --remote pro
git push pro master