Difference between revisions of "Install a new wiki"
m (Category:Wikia) |
(→LocalSettings.php: LocalSettings.sample.php) |
||
Line 16: | Line 16: | ||
== LocalSettings.php == | == LocalSettings.php == | ||
− | Most of the settings required are already configured in the common [[Config:Wikia.php|wikia.php]] script, but some settings such as the wiki's name, its database details and its extensions are still necessary. | + | Most of the settings required are already configured in the common [[Config:Wikia.php|wikia.php]] script, but some settings such as the wiki's name, its database details and its extensions are still necessary. See the sample file [http://svn.organicdesign.co.nz/filedetails.php?repname=extensions&path=%2FLocalSettings.sample.php LocalSettings.sample.php] in our SVN extensions repo which covers most of the common conventions for a wiki intended for Organic Design wiki organisation use. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Domain configuration == | == Domain configuration == |
Revision as of 03:05, 13 February 2010
Install a new wiki Organic Design procedure |
After a new database has been added for the wiki using the add a wiki database procedure, some files need to be added and modified.
Contents
Configuration directory
Each wiki requires a configuration directory in /var/www/wikis which contains it's LocalSettings.php file, a symlink to the MediaWiki code-base it's to use and its files as shown in the following example file structure.
LocalSettings.php
Most of the settings required are already configured in the common wikia.php script, but some settings such as the wiki's name, its database details and its extensions are still necessary. See the sample file LocalSettings.sample.php in our SVN extensions repo which covers most of the common conventions for a wiki intended for Organic Design wiki organisation use.
Domain configuration
Add a symlink for the domain(s) the new wiki should be accessible from. If the domain is pointed at the server using a wild-card, then no DNS configuration will be necessary, but otherwise an A-record will need to be created for the sub-domain, or a completely new domain may need to be set up, in which case see set up a new domain name.
Once the domain/sub-domain is pointing at the server, then it is routed to the correct wiki by adding a symlink in /var/www/domains which has the same name as the domain and links to the configuration directory for the new wiki in /var/www/wikis for example:
Populate wiki content
- skin
- sidebar tree
- common CSS and JS