Skip to content

Commit

Permalink
Add README for configures
Browse files Browse the repository at this point in the history
  • Loading branch information
yang-er committed Jun 14, 2020
1 parent 9c84146 commit 3159117
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
3 changes: 0 additions & 3 deletions README

This file was deleted.

33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Judgehost

This judgehost is modified from DOMjudge.

Current base code version is v7.2.0.

# Configuring judgehosts

Note that there are several interactions in the configuration process. Please **don't simply copy** these commands into bash and run. Make sure you are currently running on **non-root user**.

```bash
# For apt install dependencies
sudo ./dependency.sh

# Configure and build
# When upgrades are needed, running this section only
./bootstrap
./configure
make
sudo make install

# Create the judgedaemon users, Setup systemd scripts
# Running chroot builder and Configure the grub script
#
# NOTE that this will simply configure the /etc/default/grub
# and do not guarantee the arguments are correctly installed
# You may only run on the first install on a clean install
sudo ./finalize.sh

# Setup the corresponding count of judgehosts
# NOTE that you may have to disable these manually if needed
sudo ./setup-batch.sh
```

0 comments on commit 3159117

Please sign in to comment.