来源于:http://trac.seagullproject.org/wiki/Installation/Customising

Customising the Installer

概述

如果你已经使用Seagull开发网站,创建了自己的模块和样品数据,你可能想自定义安装过程来满足你客户的需求。 你可以重命名文件 seagull/etc/customInstallDefaults.ini.dist为seagull/etc/customInstallDefaults.ini并修改其中的设置。

自定义站点配置

对于Seagull 0.6.2 你可以通过全局配置文件自定义站点配置,而不仅仅是安装时带的参数。直接把需要的配置信息添加到ini文件seagull/etc/customInstallDefaults.ini, 如

[group] key = value

高级实例

下列的例子中使用了很多定制技巧:

; Add your customised settings below, and rename this file to customInstallDefaults.ini.
; Then when you run the Seagull installer, these values will be used.

adminFirstName   = Demian
adminLastName    = Turner
siteName         = Foo
adminEmail       = demian@phpkitchen.com
siteKeywords     =
siteDesc         =
siteCookie       = FOOSESSID
prefix           =
name             = foo ; this is database name
aModuleList      = block,cms,export,default,media,user

[site]
defaultTheme = babyfy
showLogo = logo.gif
inputUrlHandlers = Classic,Sef

[path]
moduleDirOverride = modulesFOO
pathToCustomConfigFile = ../modulesFOO/constants.php
uploadDirOverride = /www/themes/foo/images/uploads
 
installation/customising.txt · 最后更改: 2010/05/30 00:21 (外部编辑)
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2