Skip to content
Sankha Narayan Guria edited this page Jun 24, 2014 · 3 revisions

Requirements

  • Node.js
  • fakechroot: This is required to create a chroot as a non-sudo user. Can be installed on Ubuntu like systems with sudo apt-get install fakechroot.

Getting Started

  1. Clone the repository by the command: git clone https://github.com/sankha93/judgev2.git
  2. Go to the cloned directory and install all required packages by: npm install
  3. Some default options are already filled up in the files config.json and slaves.json. You can look at the Configuring page if you want to change them. The existing ones are enough to get started.
  4. Run the slave first: node index.js --slave [name]. Replace name with whatever the name you have. The default one is lanikai.
  5. Run the master by: node index.js --master.

That's it the judge is running and should be listening for requests on the port you set up (should be 6029 by default).

Clone this wiki locally