An open API service indexing awesome lists of open source software.

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).

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).