mirror of https://github.com/dirtbags/moth.git
Bugfixes (thanks civ)
This commit is contained in:
parent
4112c04c87
commit
58b4499fe8
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`,
|
If you were to want to run it out of `/opt/koth`,
|
||||||
do the following:
|
do the following:
|
||||||
|
|
||||||
$ mkdir -p /opt/hack/mycontest
|
$ mkdir -p /opt/koth/mycontest
|
||||||
$ ./install /opt/hack/mycontest
|
$ ./install /opt/koth/mycontest
|
||||||
$ cp kothd /opt/hack
|
$ cp kothd /opt/koth
|
||||||
|
|
||||||
Yay, you've got it set up.
|
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.
|
Puzzle categories are distributed in a different way than the server.
|
||||||
If you have one,
|
After setting up (see above), just run
|
||||||
just run
|
|
||||||
|
|
||||||
$ /opt/koth/hack/bin/install-category /path/to/my/category
|
$ /opt/koth/mycontest/bin/install-category /path/to/my/category
|
||||||
|
|
||||||
|
|
||||||
Running It
|
Running It
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Get your web server to serve up files from
|
Get your web server to serve up files from
|
||||||
`/opt/koth/hack/www`.
|
`/opt/koth/mycontest/www`.
|
||||||
|
|
||||||
Then run `/opt/koth/kothd`.
|
Then run `/opt/koth/kothd`.
|
||||||
|
|
||||||
|
|
||||||
|
Permissions
|
||||||
|
----------------
|
||||||
|
|
||||||
It's up to you not to be a bonehead about 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