Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iblislin/dif-cpp-judger
A django project for cpp education
https://github.com/iblislin/dif-cpp-judger
Last synced: about 1 month ago
JSON representation
A django project for cpp education
- Host: GitHub
- URL: https://github.com/iblislin/dif-cpp-judger
- Owner: iblislin
- License: wtfpl
- Created: 2015-01-02T03:43:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-02T07:06:14.000Z (almost 10 years ago)
- Last Synced: 2024-10-13T19:47:55.749Z (2 months ago)
- Language: Python
- Homepage:
- Size: 277 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
===============
dif-cpp-judger
===============**Note: This project currently is under development and has some security issue.Use it at your own risk.**
This is a django project for cpp education.
We can write down some cpp questions.
Let users upload their codes to compile and execute at server side.Any pull requests are wellcome.
==============
Requirements
==============
* python 2.7
* Django 1.7 or later
* Celery 3.1 + and one of `celery `_ supported broker
* AngularJs 1.x============
Installation
============
First, ``git clone`` and ``cd`` to this repo::
pip install -r requirements.txt
cp _/settings.py.sample _/settings.pyConfiguration
=============
There is some vars need to be configure in ``_/settings.py``.* ``SECRET_KEY``: please see https://gist.github.com/ndarville/3452907
* We use facebook oauth to auth user, please refere the `python-social-auth `_
* ``JUDGE_DIR``: The tmp dir for compiling code.
* ``JUDGE_ITEM_PER_LIST``: Currently no function.
* ``JUDGE_CPP_COMPILER``: The cpp compiler.After configuring your ``settings.py``, please issue the following instructions
::
./manage.py syncdb
./manage.py bower installRun server
===========
Besides running your favor web server you also need to start the celery worker using ``./celery.sh``.========
License
========
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2