Typo是一款的基於Ruby on Rails技術的blog軟件,在自帶的安裝說明文檔(typo\doc\Installer.txt)中,只有基於gem的安裝方法:
$ gem install typo
$ typo install /var/www/my_typo_site
這裏給出在Windows XP手動安裝的方法:
1、環境
ruby (1.8.4及以上)
rails
mongrel
mysql
2、下載typo文件
下載typo4.1.zip http://rubyforge.org/frs/?group_id=555&release_id=10286
3、配置數據庫並初始化
1)創建數據庫typo,用戶名typo,密碼typo
2)解壓typo4.1.zip到d:\typo
3)編輯數據庫配置文件d:\typo\config\database.yml.example,改名爲database.yml,修改其中的數據庫名,用戶名和密碼
4)編輯郵件服務器配置文件d:\typo\config\mail.yml.example,改名爲mail.yml,如果是smtp方式,直接修改settings中的信息,如果爲sendmail,直接修改method爲 :sendmail,並註釋其它行即可。
5)執行rake db:migrate命令初始化數據庫
4、啓動typo
執行mongrel_rails start -e production -d -a 127.0.0.1 -p 3000
在地址欄中輸入http://127.0.0.1:3000/,首次進入系統會轉到用戶註冊頁面。