This repository was archived by the owner on Mar 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Deploying Codejudge
Sankha Narayan Guria edited this page Jun 27, 2013
·
2 revisions
This guide here describes the most simple and convenient steps to deploy Codejudge to a local server so that you can host your coding competitions.
This guide is written for Ubuntu, or other comparable Linux platforms. It needs to be adapted to other systems based on your needs.
- Get the latest version of Codejudge from http://sankha93.github.com/codejudge in the form of a ZIP archive.
- Setup any PHP/MySQL webserver stack (Apache/Nginx), or you can use LAMPP.
-
Copy the extracted files from the Codejudge zip folder into the webserver
www
folder. All the PHP files will go in it. -
Copy the
codejudge-compiler
folder to any other directory, that has non-root write permissions. Start the process by:java -jar codejudge-compiler.jar
Make sure you do this as a non-root user.
- Run
http://localhost/install.php
(or the path in which you installed Codejudge) in your web browser. This will ask for necessary information and install Codejudge.
To login as a normal user visit http://localhost
.
To login to the admin panel visit http://localhost/admin/
.