mirror of https://github.com/dirtbags/moth.git
Bugfixes (thanks civ)
This commit is contained in:
parent
47491ea590
commit
cc155d587c
22
README
22
README
|
@ -26,9 +26,9 @@ so you can run multiple contests at once if you want.
|
|||
If you were to want to run it out of `/opt/koth`,
|
||||
do the following:
|
||||
|
||||
$ mkdir -p /opt/hack/mycontest
|
||||
$ ./install /opt/hack/mycontest
|
||||
$ cp kothd /opt/hack
|
||||
$ mkdir -p /opt/koth/mycontest
|
||||
$ ./install /opt/koth/mycontest
|
||||
$ cp kothd /opt/koth
|
||||
|
||||
Yay, you've got it set up.
|
||||
|
||||
|
@ -37,18 +37,26 @@ Installing Puzzle Categories
|
|||
------------------------------------
|
||||
|
||||
Puzzle categories are distributed in a different way than the server.
|
||||
If you have one,
|
||||
just run
|
||||
After setting up (see above), just run
|
||||
|
||||
$ /opt/koth/hack/bin/install-category /path/to/my/category
|
||||
$ /opt/koth/mycontest/bin/install-category /path/to/my/category
|
||||
|
||||
|
||||
Running It
|
||||
-------------
|
||||
|
||||
Get your web server to serve up files from
|
||||
`/opt/koth/hack/www`.
|
||||
`/opt/koth/mycontest/www`.
|
||||
|
||||
Then run `/opt/koth/kothd`.
|
||||
|
||||
|
||||
Permissions
|
||||
----------------
|
||||
|
||||
It's up to you not to be a bonehead about permissions.
|
||||
|
||||
Install sets it so the web user on your system can write to the files it needs to,
|
||||
but if you're using Apache,
|
||||
it plays games with user IDs when running CGI.
|
||||
You're going to have to figure out how to configure your preferred web server.
|
||||
|
|
Loading…
Reference in New Issue