Book Image

Learning Heroku Postgres

By : Patrick Rafael de Oliveira Espake
Book Image

Learning Heroku Postgres

By: Patrick Rafael de Oliveira Espake

Overview of this book

Table of Contents (17 chapters)
Learning Heroku Postgres
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Keyword List
Index

The sample application source code


You will deploy a sample application prepared with Ruby on Rails. This application is very simple; it just shows a welcome page and you can find it at https://github.com/patrickespake/ruby-getting-started. It's a helpful method for you to understand the main concepts about the deploy process on Heroku.

Tip

You don't need the Ruby on Rails environment on your local computer for following this example, the sample application has everything you need to deploy your first application on Heroku.

First you need to copy the sample application source code. This basically consists of executing the git clone command in your terminal if you have a user account on GitHub:

git clone [email protected]:patrickespake/ruby-getting-started.git
cd ruby-getting-started

The other alternative is downloading the source code from https://github.com/patrickespake/ruby-getting-started/archive/master.zip.