-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
69 lines (42 loc) · 2.89 KB
/
INSTALL
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
LivePage version 0.0.0+svn
Copyright the-cell.co.uk
For Licencing, see LICENCE
Install instructions:
1/ Aquire source.
Download and unpack the release tarball or grab a copy of svn.
Since you are reading this, you probably don't need to be told this, as you already have done so or should know to ;)
Running SVN is not recommended for production environments because we will break the DEVELOPMENT tree occasionally.
Just to make sure the developers are paying attention, ya see.
Consider yourself warned :P
2/ Creating databases.
Create mysql database and user for each site necessary.
LivePage requires a mysql database for each distinct site it is going to run.
At a later date you may use site prefixes to run multiple sites off the same database, but we generally don't recomend it.
If you wish to run the -same- site on two or more domains, using just one database is covered in vhosting.
Please note that the www. subdomain will be stripped off the begining of the domain name.
3/ Global configuration.
Copy config.example.php to config.php, review it's contents and edit as required.
Without a config.php, bad things happen.
Not following instructions will probably lead you to stress.
At this point, you should probably have a "We are installing, just a moment" type message in the global disable option.
You should also make sure you complete the config properly. ;)
4/ Localised configuration.
Create a config file for each domain you wish to host on this install.
Files should be named like domains/livepage.org.uk.php and can contain any settings listed in config.example.php.
The localised config settings are only loaded if you set $config['vhosts'] to 1 in config.php.
If you wish to load multiple sites on the same database (domain.com and domain.net for instance), input the same database settings in to both files.
Do not include database settings in config.php if you specify that you wish to use the vhosting code.
If you tell it you want to use vhosts, certain settings will only be loaded from the localised configs.
If you tell it you don't want to use vhosts, localised configs will be ignored.
5/ Check permissions
It's important to make sure files/ is writable by the webserver, otherwise logo uploads will fail miserably.
6/ Run installer
Visit /install.php on each domain you have installed.
This will create the necessary folders under files/ and create the database tables.
7/ Almost done...
You should now have a working install. Well done.
Don't forget to clear the disable option.
Next please go and change the admin pass (defaults to admin).
You may also wish to customise your site, as the default settings are rather boring.
To install further sites, repeat steps 2, 4 and 6.
For extra installed, you should probably use the disable option in the localised config, instead of the global config.