Django app for source-code related quizzes
- clone the repo
pip install -r requirements.txtpython manage.py migratepython manage.py createsuperuserpython manage.py loaddata codequiz-server/apps/quiz/fixtures/real_quiz_data.jsonpython manage.py runserver- open http://localhost:8000/
- go to http://localhost:8000/admin/ to create, delete or edit tasks
The following instructions are taylored towards uberspace
- copy
<BASEDIR>/deployment/config-exampl.inito<BASEDIR>/config.ini - change that file (insert your connection data etc.)
- review
deployment/deploy.pyto understand what happens - run
pip install -r deployment/deployment_requirements.txt - run
python deployment/deploy.pyfrom<BASEDIR>/ - to just update the code (with no changes on data or static files):
py3 deployment/deploy.py -odsxq remote