Commit b73bd2d1 authored by Jon Mountjoy's avatar Jon Mountjoy

add a default welcome screen and a readme

parent 0c4f3886
# ruby-getting-started
A barebones Rails app, which can easily be deployed to Heroku.
## Running Locally
Make sure you have Ruby installed. Also, install the [Heroku Toolbelt](
git clone # or clone your own fork
cd ruby-getting-started
bundle install
rake db:migrate
foreman start web
Your app should now be running on [localhost:5000](http://localhost:5000/).
## Deploying to Heroku
heroku create
git push heroku master
heroku run rake db:migrate
heroku open
## Documentation
For more information about using Ruby on Heroku, see these Dev Center articles:
- [Ruby on Heroku](
This README would normally document whatever steps are necessary to get the
application up and running.
Things you may want to cover:
* Ruby version
* System dependencies
* Configuration
* Database creation
* Database initialization
* How to run the test suite
* Services (job queues, cache servers, search engines, etc.)
* Deployment instructions
* ...
Please feel free to use a different markup language if you do not plan to run
<tt>rake doc:app</tt>.
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file:
// Place all the styles related to the welcome controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here:
class WelcomeController < ApplicationController
# GET /welcome
def index
module WelcomeHelper
<h1>Getting Started with Ruby</h1>
......@@ -5,7 +5,8 @@ Rails.application.routes.draw do
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"
# root 'welcome#index'
root 'welcome#index'
# Example of regular route:
# get 'products/:id' => 'catalog#view'
require 'test_helper'
class WelcomeControllerTest < ActionController::TestCase
# test "the truth" do
# assert true
# end
require 'test_helper'
class WelcomeHelperTest < ActionView::TestCase
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment