BUGFIX: added a config.php template to the repository and updated the INSTALL files
[e-DoKo.git] / INSTALL
1
2 Installation
3 ------------
4
5 -1) What you need
6    all you need is PHP and MYSQL
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/index.php", note: include the index.php here
27
28   database info:
29
30     $DB_host
31     $DB_user
32     $DB_password
33     $DB_database
34
35   working on the database:
36     in case you need to work on the database for some reason, you can suspend the game
37     by setting $DB_work to 1
38
39   debug mode:
40     you can also turn the debug mode on by defining:
41     $debug=1;
42
43     this will give some extra output and won't send out emails, but
44     display them in the browser
45
46   timezone problem:
47     If you hvae problem with the timezone, that is an older PHP version,
48     try adding this in config.php
49
50     function    date_default_timezone_set($zone)
51     {
52        return;
53     }
54
55 3) Log in and enjoy ;)
56
57 Arun