-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Instructions
Giantpizzahead edited this page Aug 11, 2020
·
7 revisions
JudgeLite was designed to be as simple to use as possible. Because of this, the setup process is very simple and easy to follow!
- Install Docker by following the instructions on the linked page. If you aren't comfortable with the command line, there is also a convenience script available.
- Make a new empty directory somewhere (this is where JudgeLite's data will be stored).
- Download the
run_judgelite.sh
script from the latest release by running the below command.
$ curl -O https://raw.githubusercontent.com/Giantpizzahead/judgelite/master/run_judgelite.sh
- Edit the
run_judgelite.sh
script with your preferred text editor. Change the value of theSECRET_KEY
variable (at the top of the file). This is the password you will use to login to JudgeLite. - Execute the
run_judgelite.sh
script as the superuser by running the below command. You may have to wait a few minutes for the script to complete.
$ sudo sh run_judgelite.sh
... and that's it! Yep. That simple. Your own JudgeLite instance is now up and running!
(Note: It's not recommended to run JudgeLite on Windows in an official environment. However, this would be really useful for testing out your problems locally as you're creating them.)
- Install Docker Desktop by downloading the installer from the linked page.
- Make a new empty folder somewhere (this is where JudgeLite's data will be stored).
- Copy the code from the
run_judgelite.bat
batch script (link), and paste it into a local file. - Edit the
run_judgelite.bat
script by changing the value of theSECRET_KEY
variable (at the top of the file). This is the password you will use to login to JudgeLite. - Execute the
run_judgelite.bat
script by double clicking it. You may have to wait a few minutes for the script to complete. (Note: If you'd like to log JudgeLite's output, make sure to leave the console window open.)
... and that's it! JudgeLite is now up and running on your Windows machine!
Now that JudgeLite is setup, it's time to create some problems to submit to! Luckily, this is really simple as well! Take a look at the Creating Problems wiki page for an introduction on how to create problems.