LAYOUT: moved more text during the setup into the middle
[e-DoKo.git] / INSTALL
1 Installation
2 ------------
3
4 0) get files
5
6   get all files from 
7
8   http://nubati.net/git/e-DoKo
9
10 1) create database
11
12   create a mysql database using the provided file
13
14   mysql < create_database.sql
15
16   use user, password, database and host option of mysql as needed
17
18 2) create a config.php file that defines the following variables:
19
20   $host:  for example "http://localhost/index.php", note: include the index.php here
21
22   database info:
23
24     $DB_host 
25     $DB_user 
26     $DB_password 
27     $DB_database 
28
29   working on the database:
30     in case you need to work on the database for some reason, you can suspend the game
31     by setting $DB_work to 1
32
33   debug mode:
34     you can also turn the debug mode on by defining:
35     $debug=1;
36
37     this will give some extra output and won't send out emails, but
38     display them in the browser
39
40   timezone problem:
41     If you hvae problem with the timezone, that is an older PHP version,
42     try adding this in config.php
43
44     function    date_default_timezone_set($zone)
45     {
46        return;
47     }
48
49
50 3) log in and enjoy ;)
51
52 Arun