Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 722 Bytes

File metadata and controls

53 lines (33 loc) · 722 Bytes

Track Assessment Server

Automates track assessment scoring using test suites and testcase for each specific track.

Setup local environment

Required: Python version: 3.6^
$: python -m pip install virtualenv

$: python -m venv venv/

$: source venv/bin/activate

Install packages

$: pip install -r requirements.txt

$: pip install -e .

Running the server

  • Expose required common environment variables
$: export APP_SETTINGS="development"

Using Flask (Hot Reload)

$: export FLASK_APP=srv

$: export FLASK_ENV=development

$: flask run -p 8000

Using Gunicorn

$: gunicorn srv:app

Testing

$: pytest