Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

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.


Prepare your system

  1. Get the latest version of Codejudge from http://sankha93.github.com/codejudge in the form of a ZIP archive.
  2. Setup any PHP/MySQL webserver stack (Apache/Nginx), or you can use LAMPP.

Installing Codejudge

  1. Copy the extracted files from the Codejudge zip folder into the webserver www folder. All the PHP files will go in it.

  2. 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.

  1. 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.

Using Codejudge

To login as a normal user visit http://localhost.

To login to the admin panel visit http://localhost/admin/.