Skip to content

Virtual Judge,交流群:493268792,暂停开发

License

Notifications You must be signed in to change notification settings

kinkir/VirtualJudge

Repository files navigation

VirtualJudge

Build Status Coverage Status Python Django djangorestframework

Virtual Judge Based on Python

Test Deploy

Test Enviroment

  • Python3.7
  • docker latest
  • docker-compose latest
  • Git

Install Instructions

  1. Install Dependencies: pip3 install -r requirements.txt.
  2. Install Redis and Postgres: Change directory to dockerfiles and run docker-compose -f dev.yml.
  3. Initial Database: Run python3 ./manage.py init_install, it will initialize databases and add default administrator account root/rootroot.
  4. Run Service: python3 ./manage.py runserver 127.0.0.1:8000.
  5. Add Spider Accounts: Copy tools/accounts-sample.json to tools/accounts.json,and add your spider accounts.Then copy tools/config-sample.json to tools/config.json. Finally, run python3 post_accounts.py.
  6. Search Problems: for example,http://127.0.0.1:8000/api/problem/poj/3223/.

Spider

https://github.com/VirtualJudge/spider

FrontEnd

https://github.com/VirtualJudge/VirtualJudgeFE

About

Virtual Judge,交流群:493268792,暂停开发

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages