Skip to content

taybenlor/ncss-coffeerun

 
 

Repository files navigation

NCSS CoffeeRun by Maddy

Running Locally

  • Create a virtual environment: virtualenv --python="$(which python3)" env
  • Activate the virtual enviroment: source env/bin/activate
  • install requirements: pip install -r requirements/dev.txt
  • Create the database and tables and a default user with create_db.py python3 create_db.py
  • Run on command line:
    • python3 run.py (for the web ui)
    • python3 coffeebot.py (for the slack bot)
  • Open the browser at http://localhost:5000 (note: Use localhost, not 127.0.0.1)

Running tests locally

  • Activate the virtual enviroment: source env/bin/activate
  • Run the coffeespec tests: python test_coffeespecs.py

Running On The Website

  • Push changes to the site using git push heroku master
  • The program is started by this
  • There's no DB migration, manually do any changes before you push the dependent changes

About

NCSS Coffeerun website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 68.7%
  • HTML 30.0%
  • Other 1.3%