项目
在 GitHub 查看
railstutorial/sample_app_2nd_ed
关于
《Rails 教程》示例应用,第 2 版
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Ruby on Rails Tutorial: sample application
This repository is out of date and is no longer maintained. Please see the Rails Tutorial Help page for the most up-to-date version.
This is the sample application for Ruby on Rails Tutorial: Learn Web Development with Rails by Michael Hartl. You can use this reference implementation to help track down errors if you end up having trouble with code in the tutorial. In particular, as a first debugging check I suggest getting the test suite to pass on your local machine:
$ cd /tmp
$ git clone [email protected]:railstutorial/sample_app_2nd_ed.git
$ cd sample_app_2nd_ed
$ cp config/database.yml.example config/database.yml
$ bundle install
$ bundle exec rake db:migrate
$ bundle exec rake db:test:prepare
$ bundle exec rspec spec/
If the tests don't pass, it means there may be something wrong with your system. If they do pass, then you can debug your code by comparing it with the reference implementation.
探索相关项目
加载中…