GithubHelp home page GithubHelp logo

zhblue / vjudge Goto Github PK

View Code? Open in Web Editor NEW
52.0 6.0 25.0 81.87 MB

Just a preservation snap of the latest opensource version of virtual-judge

Java 16.77% HTML 2.31% JavaScript 71.43% ASP 1.09% CSS 7.05% PHP 1.11% Shell 0.02% TSQL 0.22%

vjudge's Introduction

#Virtual-Judge#

a fork of the hust-virtual-judge system early released source code

基础代码来自 https://github.com/hnshhslsh/virtual-judge

做了一些小的调整和改动,让部署更容易

整理了所有的jar依赖,修订了路径和配置,增加了与最新版hustoj配合的本地判题功能。 工程整理为eclipse工程,不需要破解myeclipse

Ubuntu 14/16 LTS install script 执行完访问http://服务器IP:8080/vjudge/ 即可使用vjudge

wget https://github.com/zhblue/vjudge/raw/master/install.sh
sudo bash install.sh

基本操作:

  • 安装 jdk8+
  • 安装 mysql5+
  • 安装启动tomcat8+
  • 将下载到的vjudge.war文件放入/var/lib/tomcat8/webapps目录
  • 等待tomcat自动解压缩得到vjudge目录
  • 启动mysql,建库,用vjudge/WEB-INF/classes/vhoj_20141109.sql 建表。
  • 编辑vjudge/WEB-INF/classes/config.properties设置数据库账号
  • 编辑vjudge/WEB-INF/classes/remote_accounts.json设置宿主OJ账号
  • 编辑vjudge/WEB-INF/classes/http_client.json设置代理服务器(可选)
  • 重启tomcat
  • 浏览器访问http://服务器地址:8080/vjudge/
  • 如需去掉端口、子目录,可用nginx做反向代理。

只需少量调整就可以跟最新版hustoj配合,自己的vjudge抓自己oj的题。

相关类judge.remote.provider.local.* 配置域名和路径 https://github.com/zhblue/vjudge/blob/master/vjudge2016/src/config.properties#L34

vjudge's People

Contributors

zhblue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vjudge's Issues

抓不到自己oj的题。

自己的vjudge抓自己oj的题目,總是抓不到。

#hustoj opensource verion instance adapter
hustoj.domain=localhost
hustoj.port=80
hustoj.path=

以上 hustoj.path 是不是Huston local instance 的full path.
可不可以給一個例子。

安装问题请教

自己的ubuntu16.04或14.04安装时感觉运行到echo "waiting for tomcat7 deploying vjudge.war ... 8s count down"后面就不动了,后面没有任何显示了,不知道是怎么回事,请教下可能的原因,谢谢

Contest undefined 请教

在problem中题目显示正常
Contest 显示 undefined 前端报错
script.min.js?1550386801304:952 Uncaught TypeError: Cannot read property 'undefined' of undefined
at t (script.min.js?1550386801304:952)
at b (script.min.js?1550386801304:932)
at script.min.js?1550386801304:973
at dispatch (script.min.js?1550386801304:88)
at D.handle (script.min.js?1550386801304:82)
at Object.trigger (script.min.js?1550386801304:86)
at script.min.js?1550386801304:98
at Function.each (script.min.js?1550386801304:20)
at l.fn.init.each (script.min.js?1550386801304:16)
at l.fn.init.trigger (script.min.js?1550386801304:98)

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.