欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Typo (software)
来自开放百科 - 灰狐
(版本间的差异)
第22行: | 第22行: | ||
Typo 5 and Rails 2 | Typo 5 and Rails 2 | ||
− | + | # gem update --include-dependencies | |
− | + | 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 | |
− | + | ||
− | + | ||
==User== | ==User== | ||
*http://blog.lighttpd.net/ | *http://blog.lighttpd.net/ |
2008年4月14日 (一) 05:53的版本
目录 |
安装指南
创建数据库
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 update --include-dependencies
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
User
相关链接
- http://typosphere.org/
- http://planettypo.com/
- http://typoforums.org/
- http://nubyonrails.com/
- http://scottstuff.net/blog/
- http://docs.huihoo.com/typo/
- http://download.huihoo.com/typo/
精彩图集
分享您的观点