Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cknoll/codequiz-server
- Owner: cknoll
- Created: 2013-06-17T22:53:42.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2023-11-27T11:13:50.000Z (12 months ago)
- Last Synced: 2023-11-27T12:28:44.877Z (12 months ago)
- Language: Python
- Homepage:
- Size: 2.78 MB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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`