heroku basics

Create an application on heroku

$ heroku create --stack cedar
$ git push heroku master

This will create an auto-generated name. You can rename it to what you want.

$ heroku rename andrewchaarubydemoapp

Then you can run db:migrate to create tables.

$ heroku run rake db:migrate

You can check heroku logs, in case of any error

$ heroku logs
heroku basics

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s