BUGFIX: added special section for vorbehalte (needs to be in div class=middle in...
[e-DoKo.git] / INSTALL
1
2 Installation
3 ------------
4
5 -1) What you need
6    all you need is PHP and MYSQL. PHP has to include gettext support.
7
8 0) Get files
9
10   get all files from
11
12   http://nubati.net/git/e-DoKo
13
14 1) Create database
15
16   create a mysql database using the provided file
17
18   mysql < create_database.sql
19
20   use user, password, database and host option of mysql as needed
21
22 2) Configure
23
24   Copy config.php_template to config.php and edit it. These variables need to be set:
25
26   $HOST:  for example "http://localhost"
27   $INDEX: the absolute web path to your index.php file e.g. "/mypath/index.php"
28   $STATS: the absolute web path to your stats.php file e.g. "/mypath/stast.php"
29   $RSSS:  the absolute web path to your rss.php file e.g. "/mypath/rss.php"
30
31   database info:
32
33     $DB_host
34     $DB_user
35     $DB_password
36     $DB_database
37
38   working on the database:
39     in case you need to work on the database for some reason, you can suspend the game
40     by setting $DB_work to 1
41
42   debug mode:
43     you can also turn the debug mode on by defining:
44     $debug=1;
45
46     this will give some extra output and won't send out emails, but
47     display them in the browser
48
49   timezone problem:
50     If you hvae problem with the timezone, that is an older PHP version,
51     try adding this in config.php
52
53     function    date_default_timezone_set($zone)
54     {
55        return;
56     }
57
58 3) Log in and enjoy ;)
59
60 Arun