To start create a new Rails app in the terminal:
rails new app_name -T
Where -T determines we don't want to include mini tests in our applicartion
git add .
git commit -am 'Added initial files'
heroku create --region eu
# this will create the app in EU. Optionally you can try to create the
# app with a name like so: heroku create <app_name> --region eu
# but most names you try are unavailable
<https://whatever-name.herokuapp.com/> | <https://git.heroku.com/whatever-name.git>
Now create a Shopify App
Make note of the url for your Heroku App
Now amend your Gemfile and add the shopify app gem before the rails gem:
gem 'shopify_app'
Move the sqllite gem to develop/test only group
Create a new production env group and add the pg gem:
gem 'pg'
Install the gems
Commit your changes to git
Then push to Heroku: