diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -4,7 +4,7 @@ Foreword ======= -Right now I'm developing this on Ubuntu/Debian, so the following instructions are for those platforms. This will eventually run on Gentoo, of course. +Right now I'm developing this on Ubuntu/Debian, so the following instructions are for those platforms. If you install the appropriate prerequisites, it will work on Gentoo too, of course. Prerequisites @@ -39,16 +39,18 @@ Installation cd /usr/share git clone http://git.overlays.gentoo.org/gitroot/proj/gentoaster.git - +Configure settings in config.php and web/config.php as appropriate +Run php5 install.php as root +Configure a webserver of your choice to server the web folder on the address you specified Running ======= -There's no init script for the daemon yet, so simply run as follows: +The installer will start the daemon for you automatically, but if you need to do this yourself later, run the following as root: -sudo php5 /usr/share/gentoaster/daemon.php & +/etc/init.d/gentoaster start -Note the use of sudo, the daemon MUST be ran as root for it to work, otherwise all builds will fail. +The daemon MUST be ran as root for it to work, otherwise all builds will fail. Now that the daemon is running, you can try a build, using the sample client: @@ -65,3 +67,5 @@ php5 /usr/share/gentoaster/status.php <handle hash> Where <handle hash> is the hash returned by client.php (for example 6085655f187a8442f82c43ebf98e5fdb) If the build is still running, you'll get a progress percentage. If it's finished, the return code and result message will be shown. + +If you've setup a webserver, you can also use the WebUI at the address you've configured |