Skip to content

ethan-well/course_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

要求功能基本实现

本定安装

#clone 到本地
git clone https://github.com/wewin11235/course_system.git

#进入项目
cd course_system

#安装gem和依赖
bundle install

#运行数据库迁移,运行种子文件填充数据库
rails db:setup

#启动项目
rails s

#说明
根路由指向 `GET /teachers`
数据量: Student.all.length => 8, Teacher.all.length => 4, Course.all.length => 12