ginomempin / coffeeshopph

Hobby project for learning how to develop and deploy web applications using Ruby on Rails and Heroku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoffeeShopPH-Web

This is a Ruby on Rails web app for managing the operations of a café or a restaurant.

Environment

  • Mac OS X 10.10.5 (Yosemite)
  • Homebrew 0.9.5
  • Ruby 2.2.4
  • RVM 1.26.11
  • Rails 4.2.2
  • Heroku Toolbelt 3.42.25
  • Heroku CLI 5.2.24

Setup

  • HOW-TO setup Ruby and Rails
  • HOW-TO run the application in Heroku
    • Create an account in Heroku
    • Install the Heroku Toolbelt
    • Switch to the production branch (i.e. master)
    • In your local copy of the project:
      • heroku login
      • heroku keys:add
    • Prepare the heroku remote
      • If the heroku app already exists: git remote add heroku <git-URL-of-app>
      • If creating the app for the first time: heroku create <app-name>
    • Verify that the heroku remote was created:
      • git remote -v
    • Push production code to heroku: git push heroku master
    • Access the page using its https://app-name.herokuapp.com URL

References

About

Hobby project for learning how to develop and deploy web applications using Ruby on Rails and Heroku


Languages

Language:Ruby 82.0%Language:HTML 12.4%Language:CSS 4.2%Language:CoffeeScript 1.0%Language:JavaScript 0.4%