Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cknoll/codequiz-server

webapp for code-centred quiz-tests
https://github.com/cknoll/codequiz-server

Last synced: about 1 month ago
JSON representation

webapp for code-centred quiz-tests

Awesome Lists containing this project

README

        

# codequiz-server

Django app for source-code related quizzes

## Local test deployment

- clone the repo
- `pip install -r requirements.txt`
- `python manage.py migrate`
- `python manage.py createsuperuser`
- `python manage.py loaddata codequiz-server/apps/quiz/fixtures/real_quiz_data.json`
- `python manage.py runserver`
- open
- go to to create, delete or edit tasks

## Remote deployment

The following instructions are taylored towards [uberspace](https://uberspace.de)

- copy `/deployment/config-exampl.ini` to `/config.ini`
- change that file (insert your connection data etc.)
- review `deployment/deploy.py` to understand what happens
- run `pip install -r deployment/deployment_requirements.txt`
- run `python deployment/deploy.py` from `/`
- to just update the code (with no changes on data or static files):
`py3 deployment/deploy.py -odsxq remote`