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

https://github.com/flaviuvadan/rails-sample-static-app

A sample static app built with Rails
https://github.com/flaviuvadan/rails-sample-static-app

rails-tutorial ruby ruby-on-rails

Last synced: about 2 months ago
JSON representation

A sample static app built with Rails

Awesome Lists containing this project

README

        

## Ruby on Rails sample application

This is the sample application for
[*Ruby on Rails Tutorial:
Learn Web Development with Rails*](http://www.railstutorial.org/)
by [Michael Hartl](http://www.michaelhartl.com/).

## License

All source code in the [Ruby on Rails Tutorial](http://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
```

In case you have previously installed a version of a gem (such as Rails itself) other
then the one specified in the Gemfile, you may need to run:

```
$ bundle update
.
.
.
$ 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](http://www.railstutorial.org/book).

Hosted on: https://rails-static-app-flav.herokuapp.com/