-
Notifications
You must be signed in to change notification settings - Fork 67
How to deploy your own Virtual Judge
Han edited this page Feb 26, 2016
·
2 revisions
- JRE (7+)
- MySQL (5+)
- Redis
- Maven (3+)
- Tomcat (7+)
- Set up your MySQL and import this schema
- Set up your Redis server
- Download http_client.json to your server disk, and configure it. It tells Virtual Judge how to visit remote OJs
- Register accounts in remote OJs
- Download remote_accounts.json to your server disk, and configure it using accounts in step 4
- Set up your Maven3 environment
- Clone the whole Virtual Judge project and build it by "mvn clean package"
- Deploy the WAR built in step 7 named "vjudge.war" to your Tomcat
- Start Tomcat then find the file named "config.properties" in unzipped "vjudge" directory in your Tomcat webapps directory. Configure all the parameters in it, especially including the absolute path of "http_client.json" and "remote_accounts.json".
- Restart Tomcat, then it should be OK.