Radiant CMS

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第24行: 第24行:
 
  % ruby script/setup_database production
 
  % ruby script/setup_database production
 
  % ruby script/server webrick -e production
 
  % ruby script/server webrick -e production
 +
或使用lighttpd
 +
修改 config/lighttpd.conf
 +
"bin-environment" => ( "RAILS_ENV" => "development" ) ===> "bin-environment" => ( "RAILS_ENV" => "production" )
 
   
 
   
 +
% ruby script/server -e production
 
  http://localhost:3000)
 
  http://localhost:3000)

2006年9月9日 (六) 23:58的版本

http://radiantcms.org

安装指南

% gem install --include-dependencies radiant
% radiant --help

create mysql database

create database radiant_dev;
create database radiant_test;
create database radiant_live;
grant all on radiant_dev.* to u@'%' identified by 'pw';
grant all on radiant_live.* to u@'%' identified by 'pw';
grant all on radiant_test.* to u@'%' identified by 'pw';
flush privileges;
cd config
cp database.mysql.yml database.yml
修改用户名/密码

数据库安装

% ruby script/setup_database --help
% ruby script/setup_database production
% ruby script/server webrick -e production

或使用lighttpd

修改 config/lighttpd.conf
"bin-environment" => ( "RAILS_ENV" => "development" ) ===> "bin-environment" => ( "RAILS_ENV" => "production" )

% ruby script/server -e production
http://localhost:3000)
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱