Mephisto

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
 
(未显示2个用户的3个中间版本)
第1行: 第1行:
 
==安装指南==
 
==安装指南==
  1. Create a database named mephisto (or one of your choosing).
+
  gem install tzinfo --remote
2. Copy config/database.example.yml to config/database.yml
+
*1. Create a database named mephisto (or one of your choosing).
3. Edit database.yml and set your database credentials.
+
*2. Copy config/database.example.yml to config/database.yml
4. Upload the entire mephisto directory to your webserver.
+
*3. Edit database.yml and set your database credentials.
5. Run rake db:bootstrap from a terminal of some sorts (use rake db:bootstrap RAILS_ENV=production to be sure you’ve bootstrapped the production database.)
+
*4. Upload the entire mephisto directory to your webserver.
6. Login to your administration at http://localhost/admin with the username: admin and password: test
+
*5. Run rake db:bootstrap from a terminal of some sorts (use rake db:bootstrap RAILS_ENV=production to be sure you’
 
+
  ve bootstrapped the production database.)
 +
*6. Login to your administration at http://localhost/admin with the username: admin and password: test
  
 
==相关信息==
 
==相关信息==
 
*http://mephistoblog.com/
 
*http://mephistoblog.com/
 
*http://mephisto.stikipad.com
 
*http://mephisto.stikipad.com
 +
 +
[[Category:Blog]]
 +
[[Category:Ruby]]

2010年8月14日 (六) 16:34的最后版本

[编辑] 安装指南

gem install tzinfo --remote
  • 1. Create a database named mephisto (or one of your choosing).
  • 2. Copy config/database.example.yml to config/database.yml
  • 3. Edit database.yml and set your database credentials.
  • 4. Upload the entire mephisto directory to your webserver.
  • 5. Run rake db:bootstrap from a terminal of some sorts (use rake db:bootstrap RAILS_ENV=production to be sure you’
 ve bootstrapped the production database.)

[编辑] 相关信息

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

变换
操作
导航
工具箱