欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Radiant CMS
来自开放百科 - 灰狐
(版本间的差异)
第5行: | 第5行: | ||
% radiant --help | % radiant --help | ||
− | create database | + | 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 | cd config | ||
cp database.mysql.yml database.yml | cp database.mysql.yml database.yml | ||
+ | 修改用户名/密码 | ||
+ | |||
+ | 数据库安装 | ||
% ruby script/setup_database production | % ruby script/setup_database production | ||
− | % ruby script/server production | + | % ruby script/server webrick -e production |
http://localhost:3000) | http://localhost:3000) |
2006年9月9日 (六) 23:24的版本
安装指南
% 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 production % ruby script/server webrick -e production http://localhost:3000)
分享您的观点