GithubHelp home page GithubHelp logo

v4ld3rr4m4 / creswellgrades Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ericz1803/creswellgrades

0.0 1.0 0.0 8.56 MB

Gradebook

Home Page: https://creswell-grades.herokuapp.com/

License: MIT License

Python 43.66% Shell 0.10% Mako 0.36% CSS 2.10% JavaScript 27.12% HTML 26.66%

creswellgrades's Introduction

Build Status GitHub license

Features

  • 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

Install

First Time Setup

  1. (optional) Set up virtualenv (see below)
  2. Install dependencies: (sudo) pip install -r requirements.txt
  3. Install postgres (see below)
  4. Create database (see below)
  5. Import database structure: python manage.py db upgrade
  6. Basic db setup: python set_up_db.py
  7. Run app: ./develop.sh (or see below)

Set Up Virtualenv

(sudo) pip install virtualenv
virtualenv env
source env/bin/activate

Install Postgres

Mac/Windows: Link
Linux: Install through package manager

Create Postgres Database

psql -U postgres
CREATE DATABASE grades
CREATE DATABASE gradestest (for testing)

Run Application

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

Development

Edit Models

  1. Make edits in models.py.
  2. (first time) python manage.py db init
  3. (first time) python set_up_db.py
  4. python manage.py db migrate
  5. python manage.py db upgrade

Deploy

heroku config:set APP_SETTINGS=config.ProductionConfig --remote pro
git push pro master

creswellgrades's People

Contributors

dependabot[bot] avatar ericz1803 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.