You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
## 数据库
|
|
|
|
|
1.创建一个新的数据库,如edu_local,必须是UTF-8
|
|
|
|
|
2.设置本地database.yml
|
|
|
|
|
3. 链接mysql,执行导入数据库:source /Users/jingquanhuang/eduplus2/db/structure.sql
|
|
|
|
|
4. 初始化种子数据seeds.rb
|
|
|
|
|
|
|
|
|
|
|