Radiant CMS

来自开放百科 - 灰狐
2006年9月17日 (日) 20:32WikiSysop (讨论 | 贡献)的版本

跳转到: 导航, 搜索

http://radiantcms.org

Radiant features

  • The ability to arrange pages in a hierarchy
  • Layouts that can be used to apply a common look to a Web site
  • Snippets that are similar to partials or includes
  • Pages which are defined in multiple parts (body, extended, sidebar, etc…)
  • A custom tagging language (Radius)
  • Special page-oriented plugins called behaviors
  • A simple user management/permissions system
  • Several domain specific languages which make it easy to write plugins

安装指南

% 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
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱