https://github.com/ooloth/rails-sample-app
The main example app from Michael Hartl's "Ruby on Rails Tutorial" (https://www.railstutorial.org/book).
https://github.com/ooloth/rails-sample-app
Last synced: about 2 months ago
JSON representation
The main example app from Michael Hartl's "Ruby on Rails Tutorial" (https://www.railstutorial.org/book).
- Host: GitHub
- URL: https://github.com/ooloth/rails-sample-app
- Owner: ooloth
- Created: 2019-06-12T00:04:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T13:22:23.000Z (about 3 years ago)
- Last Synced: 2025-01-18T11:23:01.774Z (about 1 year ago)
- Language: Ruby
- Size: 67.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ruby on Rails Tutorial sample application
Demo: https://peaceful-journey-22413.herokuapp.com/
This is the sample application for [*Ruby on Rails Tutorial: Learn Web Development with Rails*](https://www.railstutorial.org/) by [Michael Hartl](http://www.michaelhartl.com/).
## License
All source code in the [Ruby on Rails Tutorial](https://www.railstutorial.org/) is available jointly under the MIT License and the Beerware License. See [LICENSE.md](LICENSE.md) for details.
## Getting started
To get started with the app, clone the repo and then install the needed gems:
```
$ bundle install --without production
```
Next, migrate the database:
```
$ rails db:migrate
```
Finally, run the test suite to verify that everything is working correctly:
```
$ rails test
```
If the test suite passes, you'll be ready to run the app in a local server:
```
$ rails server
```
For more information, see the [*Ruby on Rails Tutorial* book](https://www.railstutorial.org/book).