3分鐘建一個網站

14 views
Skip to first unread message

Henry Juan

unread,
Apr 30, 2008, 1:43:12 AM4/30/08
to Seagull中文讨论区
開始計時:

1. 在主機上安裝Seagull (一分鐘)

2. 進入後台Config Manager,配置2個選項 (20秒):
Input URL handlers = Horde_Routes
Additional include path = /usr/share/php <= 這是我Ubuntu上的PEAR組件目錄

3. 進入後台Module Manager安裝simplesite模塊 (10秒)

4. 修改seagull/var/routes.php (30秒)
添加 一行:array('/:page.html', array('moduleName' =>
'simplesite','controller' => 'simplesite')),

5. 大功告成! 接下來只需要將設計好的網頁HTML檔放進modules/simplesite/templates目錄,
例如about.htm,網址就是your_domain/index.php/about.html

ps. 好像只花了2分鐘! 留一分鐘給安裝horde/routes, 請參考: http://trac.seagullproject.org/wiki/Howto/Routes

ccc0...@yeah.net

unread,
Apr 30, 2008, 2:01:44 AM4/30/08
to seagul...@googlegroups.com
奇怪!!
我怎么没有找到simplesite模块哩~
 
 ~~~ 我愛暴牙妹

Henry Juan

unread,
Apr 30, 2008, 2:11:41 AM4/30/08
to seagul...@googlegroups.com
您好!

你安裝的是那一個版本?
simplesite要用svn安裝的才有,svn安裝方式:
$ svn co http://svn.seagullproject.org/svn/seagull/branches/0.6-bugfix 
Henry
--

2008/4/30 <ccc0...@yeah.net>:
Reply all
Reply to author
Forward
0 new messages