X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=INSTALL;h=372b6b60ccf0037948c1468080d74916108569f8;hp=8cdf132fbd68a92a650d03565c0bb255f1c0cebb;hb=HEAD;hpb=9db97c855d40d089037410aad3595893f68f6d6a diff --git a/INSTALL b/INSTALL index 8cdf132..372b6b6 100644 --- a/INSTALL +++ b/INSTALL @@ -1,44 +1,64 @@ + Installation ------------ -0) get files +-1) What you need + all you need is PHP(>=5.3.7) and MYSQL. PHP has to include gettext support. + +0) Get files + + get all files from + + http://nubati.net/git/e-DoKo -get all files from +1) Create database -http://svn.nubati.net/emaildoko/trunk + create a mysql database using the provided file -1) create database + mysql < create_database.sql -create a mysql database using the provided file + use user, password, database and host option of mysql as needed -mysql < create_database.sql +2) Configure -use user, password, database and host option of mysql as needed + Copy config.php_template to config.php and edit it. These variables need to be set: -2) create a config.php file that defines the following variables: + $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" + $RSSS: the absolute web path to your rss.php file e.g. "/mypath/rss.php" -$host : for example "http://localhost/index.php", note: include the index.php here + database info: -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 + by setting $DB_work to 1 -you can also turn the debug mode on by defining: -$debug=1; + debug mode: + you can also turn the debug mode on by defining: + $debug=1; -this will give some extra output and won't send out emails, but display them in the browser + this will give some extra output and won't send out emails, but + display them in the browser -If you hvae problem with the timezone, that is an older PHP version, try adding this in config.php + timezone problem: + If you hvae problem with the timezone, that is an older PHP version, + try adding this in config.php -function date_default_timezone_set($zone) -{ - return; -} + function date_default_timezone_set($zone) + { + return; + } +3) install .htaccess: copy htaccess.template to .htaccess and edit it to set RewriteBase. + If your site is at http://example.org/~test/edoko you need to set + RewriteBase to /~test/edoko -3) log in and enjoy ;) +4) Log in and enjoy ;) Arun