ReznikovRoman / dta

Digital Teaching Assistant web app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use poetry install in order to install all the required dependencies. If you are using code, press Ctrl+Shift+P in order to activate poetry virtual environment after installation. Run unit tests via make test, run the app via make flask, run the linter as make pep8. If you prefer to use containers, there are make image and make container scripts that will build a Docker image and run the app inside the image. A sample run script for production might look like as follows:

# Use the following if you'd like to seed the database:
# export SEED=1 && sh start.sh
# Don't forget to do this after seeding: unset SEED
export CONFIG_PATH=/home/app/webapp/config
. /home/app/.cache/pypoetry/virtualenvs/app-_h2eKbNq-py3.10/bin/activate
cd src/webapp
waitress-serve --port 8080 --call 'app:create_app'

About

Digital Teaching Assistant web app.

License:MIT License


Languages

Language:Python 69.1%Language:Jinja 25.2%Language:Dockerfile 3.5%Language:Mako 1.3%Language:Makefile 0.9%