Radiant CMS

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第18行: 第18行:
 
  cp database.mysql.yml database.yml
 
  cp database.mysql.yml database.yml
 
  修改用户名/密码
 
  修改用户名/密码
 +
屏蔽 #socket: /tmp/mysql.sock
  
 
数据库安装
 
数据库安装
第28行: 第29行:
 
  "bin-environment" => ( "RAILS_ENV" => "development" ) ===> "bin-environment" => ( "RAILS_ENV" => "production" )
 
  "bin-environment" => ( "RAILS_ENV" => "development" ) ===> "bin-environment" => ( "RAILS_ENV" => "production" )
 
   
 
   
  % ruby script/server -e production
+
  % ruby script/server -e production 或 ruby script/server
  http://localhost:3000)
+
  http://localhost:3000

2006年9月16日 (六) 11:37的版本

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
修改用户名/密码
屏蔽 #socket: /tmp/mysql.sock

数据库安装

% 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 或 ruby script/server
http://localhost:3000
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱