Skip to content

A Codeforces clone that allows users to run a program and compare output against a .txt file.

Notifications You must be signed in to change notification settings

heiheihang/Grading-Server-Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grading-Server-Test

A codeforces clone

Run

python manage.py makemigrations
python manage.py migrate
python manage.py runserver

#on a different thread 
redis-server

# on a different thread (console)
python manage.py rqworker default

For Windows

py manage.py makemigrations
py manage.py migrate
py manage.py runserver

Install

pip install django
pip install django-bootstrap-form
python -m pip install django-rq

Testing

cd grading_server

# Nuke the database
rm db.sqlite3
rm -r media/*

# make migrations
python manage.py makemigrations
python manage.py migrate

# load data
unzip ../data.zip
python manage.py loaddata ../fixture.json

# and we should be good
python manage.py runserver

About

A Codeforces clone that allows users to run a program and compare output against a .txt file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages