Skip to content
The main sample app for the Ruby on Rails Tutorial, 6th Edition
Ruby HTML CSS JavaScript Other
Branch: master
Clone or download
Pull request Compare This branch is 19 commits ahead, 34 commits behind mhartl:master.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Inline a variable Oct 10, 2019
bin Initialize repository Aug 20, 2019
config Disable workers in puma config Nov 6, 2019
db Implement following/unfollowing interface Aug 27, 2019
lib Initialize repository Aug 20, 2019
log Initialize repository Aug 20, 2019
public Initialize repository Aug 20, 2019
spec fix spec Nov 6, 2019
storage Initialize repository Aug 20, 2019
test Merge branch 'user-microposts' into following-users Aug 31, 2019
tmp Initialize repository Aug 20, 2019
vendor Initialize repository Aug 20, 2019
.browserslistrc Initialize repository Aug 20, 2019
.gitignore Add IDE-specific files to .gitignore Oct 2, 2019
.rbenv-gemsets Add .rbenv-gemsets Oct 2, 2019
.rspec Add RSpec tests Oct 2, 2019
.rubocop.yml Add .rubocop.yml Oct 2, 2019
.ruby-version Initialize repository Aug 20, 2019
Dockerfile Add docker files Oct 3, 2019
Gemfile specify gem versions Dec 2, 2019
Gemfile.lock update Gemfile.lock Dec 2, 2019
Guardfile Create the Micropost model Aug 24, 2019
HELP.md Remove irc link Sep 4, 2019
LICENSE.md Add newlines Aug 25, 2019
Procfile Use SSL and the Puma webserver in production Aug 22, 2019
README.md Update README Oct 8, 2019
Rakefile Initialize repository Aug 20, 2019
babel.config.js Initialize repository Aug 20, 2019
config.ru Initialize repository Aug 20, 2019
docker-compose.yml Add a note about the database.yml config Nov 18, 2019
entrypoint.sh Add docker files Oct 3, 2019
package.json Get login working Aug 22, 2019
postcss.config.js Initialize repository Aug 20, 2019
yarn.lock Get login working Aug 22, 2019

README.md

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 described in our documentation. To get started with the app, follow this step-by-step tutorial: Get Started.

Getting started

To get started with the app, first clone the repo and cd into the directory:

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

Then install the needed gems (while skipping any gems needed only in production):

$ bundle install --without production

Install JavaScript dependencies:

$ yarn install

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

Help page

For general help on the Rails Tutorial, see the Rails Tutorial Help page.

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.

You can’t perform that action at this time.