项目作者: TariqueNasrullah

项目描述 :
Django Based Online Judge
高级语言: CSS
项目地址: git://github.com/TariqueNasrullah/cglow.git
创建时间: 2018-11-23T14:30:14Z
项目社区:https://github.com/TariqueNasrullah/cglow

开源协议:

下载


CgloW-OnlineJudge

Make sure docker.io, rabbitmq-server is installed.

make sure rabbitmq-server is listening to port 5672

Language Requirement: python3

Installation::

  1. pip3 install virtualenv
  2. python3 -m virtualenv projectCglow
  3. cd projectCglow/
  4. source bin/activate
  5. git clone https://github.com/TariqueNasrullah/cglow.git
  6. cd cglow
  7. pip install -r requirement.txt
  8. cd rabbitmq
  9. docker-compose up -d

Goto ‘projectCglow/cglow/contestjudger’ and RUN

  1. docker build -t contestjudger .

Goto ‘projectCglow/cglow/offlinejudger’ and RUN

  1. docker build -t offlinejudger .

Goto ‘projectCgloW/cglow’ and RUN::

  1. python manage.py runserver

On another terminal, goto ‘projectCglow/‘ and RUN

  1. source bin/activate
  2. cd cglow
  3. celery -A cglow worker -l info

On your browser locate to http://127.0.0.1:8000