Coder Social home page Coder Social logo

rshest / cppquiz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from knatten/cppquiz

0.0 1.0 0.0 245 KB

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

Python 60.56% Gherkin 1.49% CSS 3.78% JavaScript 17.83% Shell 0.18% HTML 16.15%

cppquiz's Introduction

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

Both this code and the contents of the site are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License: http://creativecommons.org/licenses/by-sa/4.0/

Contributing

Setting up the environment

Note: CppQuiz is still running on Python 2.7

  • 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

Testing

Unit tests

  • ./manage.py test

System tests

The system tests are currently not maintained. If you want to have a go, you need at least pip install lettuce and pip install splinter. Then try to get ./run_lettuce to work.

Deployment

  • pip install fabric
  • Bump the version in templates.base.html (this should be scripted)
  • fab beta
  • Check http://beta.cppquiz.org/
  • fab production

cppquiz's People

Contributors

knatten avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.