欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
RForum
来自开放百科 - 灰狐
(版本间的差异)
第1行: | 第1行: | ||
− | |||
==安装指南== | ==安装指南== | ||
第18行: | 第17行: | ||
development: | development: | ||
adapter: mysql | adapter: mysql | ||
+ | host: localhost | ||
database: rforum | database: rforum | ||
username: root | username: root | ||
password: | password: | ||
− | |||
test: | test: | ||
adapter: mysql | adapter: mysql | ||
+ | host: localhost | ||
database: rforum | database: rforum | ||
username: root | username: root | ||
password: | password: | ||
− | |||
4、安装数据库 | 4、安装数据库 | ||
set RAILS_ENV=production | set RAILS_ENV=production |
2006年9月15日 (五) 16:45的版本
安装指南
1、下载rforum
http://rforum.andreas-s.net 或使用SVN下载最新版本
2、在mysql中新建一个数据库:rforum
3、修改config/database.yml
# Uncomment this section for MySQL: production: adapter: mysql host: localhost database: rforum username: root password:
development: adapter: mysql host: localhost database: rforum username: root password:
test: adapter: mysql host: localhost database: rforum username: root password:
4、安装数据库
set RAILS_ENV=production rake migrate 关于migrate的说明: http://wiki.rubyonrails.com/rails/pages/UnderstandingMigrations 如果安装过程中提示找不到ferret: gem install ferret
5、ruby script/server
6、http://localhost:3000/user/register 注册一个用户
分享您的观点