X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=INSTALL;h=86b65d418a240284661d535e858aa25db6868624;hp=bed28d57d550e1d9699da6596c206ba39516bff3;hb=afdd753932734c300c2edc1a7e0b91e4f44564a0;hpb=b29ab3c07ebe1667e852457f22f6f51193970c1b diff --git a/INSTALL b/INSTALL index bed28d5..86b65d4 100644 --- a/INSTALL +++ b/INSTALL @@ -1,13 +1,17 @@ + Installation ------------ -0) get files +-1) What you need + all you need is PHP and MYSQL + +0) Get files - get all files from + get all files from http://nubati.net/git/e-DoKo -1) create database +1) Create database create a mysql database using the provided file @@ -15,16 +19,20 @@ Installation use user, password, database and host option of mysql as needed -2) create a config.php file that defines the following variables: +2) Configure - $host: for example "http://localhost/index.php", note: include the index.php here + Copy config.php_template to config.php and edit it. These variables need to be set: + + $HOST: for example "http://localhost" + $INDEX: the absolute web path to your index.php file e.g. "/mypath/index.php" + $STATS: the absolute web path to your stats.php file e.g. "/mypath/stast.php" database info: - $DB_host - $DB_user - $DB_password - $DB_database + $DB_host + $DB_user + $DB_password + $DB_database working on the database: in case you need to work on the database for some reason, you can suspend the game @@ -46,7 +54,6 @@ Installation return; } - -3) log in and enjoy ;) +3) Log in and enjoy ;) Arun