Mephisto

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第1行: 第1行:
 
==安装指南==
 
==安装指南==
 
  gem install tzinfo --remote
 
  gem install tzinfo --remote
 
+
*1. Create a database named mephisto (or one of your choosing).
1. Create a database named mephisto (or one of your choosing).
+
*2. Copy config/database.example.yml to config/database.yml
2. Copy config/database.example.yml to config/database.yml
+
*3. Edit database.yml and set your database credentials.
3. Edit database.yml and set your database credentials.
+
*4. Upload the entire mephisto directory to your webserver.
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’
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.)
 
   ve bootstrapped the production database.)
6. Login to your administration at http://localhost/admin with the username: admin and password: test
+
*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:Python]]

2010年8月14日 (六) 16:32的版本

安装指南

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.)

相关信息

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

变换
操作
导航
工具箱