Skip to content

Karroch-a/ruby-on-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Rails App

This repository contains an extremely simple Ruby on Rails app which follows the official Getting Started with Rails guide.

The app is meant for demonstration purposes in Ansible for DevOps, a book on Ansible by Jeff Geerling. See, specifically, the deployments example in the official Ansible for DevOps repository.

If you'd like to run the example locally, make sure you have Ruby and Rails installed, then do the following (from within this repository's directory):

  1. sudo bundle install
  2. bin/rails server

After WEBrick starts up on port 3000 (it's default), you should be able to browse the rails app in your browser at something like http://localhost:3000/.