Skip to content

ludeknovy/sample_rails_app_7th_ed

 
 

Repository files navigation

Ruby on Rails Tutorial sample application

This is a fork of the Ruby on Rails Tutorial application by Michael Hartl. We created this project to help you try RubyMine features. To get started with the app, follow the step-by-step tutorial.

License

All source code in the Ruby on Rails Tutorial is available jointly under the MIT License and the Beerware License. See LICENSE.md for details.

Getting started

To get started with the app, clone the repo and then install the needed gems. You can clone the repo as follows:

$ git clone https://github.com/JetBrains/sample_rails_app_7th_ed 
$ cd sample_rails_app_7th_ed/

To install the gems, you will need the same versions of Ruby used to build the sample app, which you can find using the cat command as follows:

$ cat .ruby-version
<Ruby version number>

Once you configured ruby, install required gems using following command with --without production flag:

bundle install

If you run into any trouble, you can remove Gemfile.lock and rebundle at any time:

$ rm -f Gemfile.lock

and then with --without production flag

bundle install

Next, migrate the database:

rake db:migrate

Finally, run the test suite to verify that everything is working correctly:

rake test

If the test suite passes, you’ll be ready to seed the database with sample users and run the app in a local server:

rake db:seed
rails server

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 71.6%
  • HTML 20.8%
  • SCSS 4.4%
  • JavaScript 2.4%
  • Other 0.8%