blob: 1db8a029365333fd13f25d52c475f445fba7a9a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
======================================================================
Minimal setup
1. Make sure your mysql-server is running
2. Create an account and a database on the MySQL server
# mysqladmin -u root -p create mkgichessclub
(in mysql root's password is empty unless you have set it in advance).
3. Create a mysql user/password for the mkgichessclub database:
(change user and/or password if required)
# mysql -u root -p
mysql> GRANT ALL ON mkgichessclub.* TO mkgichessclub@localhost
IDENTIFIED BY 'mkgichessclubpassword';
mysql> FLUSH PRIVILEGES;
mysql> QUIT;
4. Run the create_database.sql script to create all the tables.
# mysql mkgichessclub < %%DATADIR%%/create_database.sql
5. Run the insert_initial_data.sql script to populate the database.
# mysql mkgichessclub < %%DATADIR%%/insert_initial_data.sql
6. Copy
%%WWWDIR%%/local_settings.php_DIST
to
%%WWWDIR%%/local_settings.php.
Open it and customise it to match your settings.
7. Add the following to your apache config (or a similar directive if
you use another web server), and restart.
#
# Directives to allow use of mkgichessclub
#
Alias /mkgichessclub/ "%%WWWDIR%%/"
#
8. Open MKGI Chess Club page in your web browser
http://localhost/mkgichessclub/
==================================================================
|