Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Shopify Application Development

You're reading from   Shopify Application Development Build highly effective Shopify apps using the powerful Ruby on Rails framework

Arrow left icon
Product type Paperback
Published in May 2014
Publisher
ISBN-13 9781783281053
Length 106 pages
Edition Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Michael Larkin Michael Larkin
Author Profile Icon Michael Larkin
Michael Larkin
Arrow right icon
View More author details
Toc

Deploying to Heroku


Heroku (http://heroku.com) is a polyglot Platform as a Service (PaaS) that allows scalable hosting of websites written in several popular languages, including Ruby, Python, and Java. Deployment is as simple as installing the Heroku toolbelt and running a few commands. Heroku keeps a copy of our code on its own Git server and deploys the latest version when we do a push.

Sign up for Heroku and then head over to https://toolbelt.heroku.com and follow the installation instructions for your OS.

Tip

If you use Apache Subversion (SVN) or Concurrent Versions System (CVS) instead of Git, please note that you'll need to also use Git as it is required for deployment to Heroku: https://devcenter.heroku.com/articles/git#using-subversion-or-other-revision-control-systems.

We need to perform the following steps while using Heroku:

  1. To use Rails 4.0.3 with Heroku, we need to add the rails_12factor gem to the Gemfile so that we can precompile our assets.

    By default, Rails compiles the JavaScript...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image