Basic Rails commands on Heroku

Here are some basic commands for managing a rails project on Heroku Push a project up to Heroku

Run a DB migration

Enter into the rails console

Attach to an existing Repo

Where project is the Heroku App name. This is for use with the heroku Toolbelt.

Basic Heroku setup

  First, create an account at Basic commands: Create a new repo

push you rails project to Heroku

Open your new project in a browser

View Heroku Logs

Restart you repo

The rename your repo to a more friendly name