Typo (software)

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
 
(未显示1个用户的6个中间版本)
第1行: 第1行:
 
[[Image:logo-typo.png|right]]
 
[[Image:logo-typo.png|right]]
 +
{{SeeWikipedia}}
  
 
==安装指南==
 
==安装指南==
第21行: 第22行:
 
   # typo install /var/www/my_typo_site
 
   # typo install /var/www/my_typo_site
  
Typo 5 and Rails 2
+
Typo 5 and Rails 2  
  # gem update --include-dependencies
+
  # gem install --remote rake
 
Rails从1.2.3升级到2.0.2
 
Rails从1.2.3升级到2.0.2
 
若出现 /usr/local/ruby/bin/rails:17: undefined method `require_gem' for main:Object (NoMethodError)
 
若出现 /usr/local/ruby/bin/rails:17: undefined method `require_gem' for main:Object (NoMethodError)
 
  vi rails, change require_gem to gem
 
  vi rails, change require_gem to gem
 +
 +
1.  Download the latest stable release or trunk.
 +
2. Create a database and edit config/database.yml to hold your username and database information (there’s an example at config/database.yml.example).
 +
3. Put Typo’s schema into it: rake db:migrate RAILS_ENV=production.
 +
4. Edit your webserver config to include Typo (there’s an example lighttpd config at config/lighttpd.conf) and go.
 +
==WordPress==
 +
wordpress.rb: Converts from Wordpress
 
==User==
 
==User==
 
*http://blog.lighttpd.net/  
 
*http://blog.lighttpd.net/  
第40行: 第48行:
 
   
 
   
 
==精彩图集==
 
==精彩图集==
[[Image:Typo_flock.png|thumb|left|Typo with Flock]] [[Image:typoadmin-20070824-01.jpg|thumb|left|General settings]]
+
<gallery perrow=5>
 +
Image:Typo_flock.png|Typo with Flock
 +
Image:typoadmin-20070824-01.jpg|General settings
 +
</gallery>
 +
 
 +
{{Comment}}
 +
 
 +
[[Category:Blog]]
 +
[[Category:Ruby]]

2010年9月16日 (四) 09:28的最后版本

Logo-typo.png
Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Typo (software) Thanks, Wikipedia.

目录

[编辑] 安装指南

创建数据库

MySQL: mysql -u username -p typo_database < db/schema.mysql.sql
Postgres: psql -U username typo_database <db/schema.postgresql.sql

Edit config/database.ym

Edit your webserver config

upgrade

rake migrate
rake migrate RAILS_ENV=production 
ruby script/server or uby script/server -e production

运行

http://localhost:3000/accounts/signup // 创建管理员帐号

Quick Start

 # gem install typo
 # typo install /var/www/my_typo_site

Typo 5 and Rails 2

# gem install --remote rake

Rails从1.2.3升级到2.0.2 若出现 /usr/local/ruby/bin/rails:17: undefined method `require_gem' for main:Object (NoMethodError)

vi rails, change require_gem to gem
1.  Download the latest stable release or trunk.
2. Create a database and edit config/database.yml to hold your username and database information (there’s an example at config/database.yml.example).
3. Put Typo’s schema into it: rake db:migrate RAILS_ENV=production.
4. Edit your webserver config to include Typo (there’s an example lighttpd config at config/lighttpd.conf) and go.

[编辑] WordPress

wordpress.rb: Converts from Wordpress 

[编辑] User

[编辑] 相关链接

[编辑] 精彩图集

Comment-32x32.png

<discussion>characters_max=300</discussion>

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱