GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - knatten/cppquiz: Source for the http://cppquiz.org website (not the questions)

BranchesTags
Open more actions menu

Latest commit

 

History

734 Commits
734 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
ci
ci
 
 
cppquiz
cppquiz
 
 
deployment/dreamhost/cronjobs
deployment/dreamhost/cronjobs
 
 
docs
docs
 
 
hooks
hooks
 
 
quiz
quiz
 
 
resources
resources
 
 
scripts
scripts
 
 
templates
templates
 
 
.gitignore
.gitignore
 
 
.pep8
.pep8
 
 
CLA.md
CLA.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
COPYING
COPYING
 
 
README.md
README.md
 
 
deploy.sh
deploy.sh
 
 
manage.py
manage.py
 
 
pytest.ini
pytest.ini
 
 
requirements.in
requirements.in
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

This is the source code (but not the content) for https://cppquiz.org

This project is licensed under the GNU General Public License Version 3, see COPYING. (The content on the site is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License, and is not available in this repository.)

Build Status

Requirements

  • Python 3.12 or higher
  • CppQuiz is only tested on Ubuntu and MacOS, but will probably work on many other OSes as well

Contributing

Please refer to CONTRIBUTING.md and CODE_OF_CONDUCT.md.

Running the code locally

Setting up the environment

  • Clone this repository
  • (We recommend using Virtualenv)
  • pip install -r requirements.txt
  • cp cppquiz/local_settings_example.py cppquiz/local_settings.py, then edit at least /path/to/your/code
  • python manage.py migrate
  • python manage.py createsuperuser
  • python manage.py create_questions 10 (Or whatever number, just so you have some dummy questions)
  • python manage.py runserver
  • Click the link displayed to go to the site. Visit /admin to log in with the superuser you created above.

Testing

  • Run pytest, or if you prefer, python manage.py test

Formatting

All code is formatted with autopep8 and checked in CI. To format your code, run ./ci/format.sh --fix

Adding / upgrading dependencies

  • Add any new dependencies to requirements.in
  • Run pip-compile --upgrade requirements.in

Deployment

  • Check out the branch you want to deploy
  • Run ./deploy.sh

About

Source for the http://cppquiz.org website (not the questions)

Resources

Readme
GPL-3.0 license

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

130 stars

Watchers

3 watching

Forks

15 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.