Sha256: 864b5a84d6ca3fd192824256b8c4b342715f870fde31e28a4bda7b7723eea141

Contents?: true

Size: 1.69 KB

Versions: 31

Compression:

Stored size: 1.69 KB

Contents

Quickstart
==========

Build and deploy a new Shopify App to Heroku in minutes

1. New Rails App (with postgres)
--------------------------------

```
rails new test-app --database=postgresql
cd test-app
git init
git add .
git commit -m 'new rails app'
```

2. Create a new Heroku app
--------------------------

The next step is to create a new heroku app. Pull up your heroku dashboard and make a new app!

cli:
```
heroku create name
heroku git:remote -a name
  ```

now we need to let git know where the remote server is so we'll be able to deploy later

web:
```
https://dashboard.heroku.com/new
git remote add heroku git@heroku.com:appinfive.git
```

3. Create a new App in the partners area
-----------------------------------------
[https://app.shopify.com/services/partners/api_clients](https://app.shopify.com/services/partners/api_clients)
* set the callback url to `https://<name>.herokuapp.com/`
* choose an embedded app
* set the redirect_uri to `https://<name>.herokuapp.com/auth/shopify/callback`


4. Add ShopifyApp to gemfile
----------------------------
```
$ echo "gem 'shopify_app'" >> Gemfile

bundle install
```

Note - its recommended to use the latest released version. Check the git tags to see the latest release and then add it to your Gemfile e.g `gem 'shopify_app', '~> 7.0.0'`

5. Run the ShopifyApp generator
-------------------------------
```
use the keys from your app in the partners area
rails generate shopify_app --api_key a366cbafaccebd2f615aebdfc932fa1c --secret 8750306a895b3dbc7f4136c2ae2ea293
git add .
git commit -m 'generated shopify app'
```

6. Deploy
---------
```
git push heroku
heroku run rake db:migrate
```

7. Install the App!
-------------------
`https://<name>.herokuapp.com/`

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
shopify_app-8.2.5 docs/Quickstart.md
shopify_app-8.2.4 docs/Quickstart.md
shopify_app-8.2.2 docs/Quickstart.md
shopify_app-8.2.1 docs/Quickstart.md
shopify_app-8.2.0 docs/Quickstart.md
shopify_app-8.1.0 docs/Quickstart.md
shopify_app-8.0.0 docs/Quickstart.md
shopify_app-7.4.0 docs/Quickstart.md
shopify_app-7.3.0 QUICKSTART.md
shopify_app-7.2.11 QUICKSTART.md
shopify_app-7.2.10 QUICKSTART.md
shopify_app-7.2.9 QUICKSTART.md
shopify_app-7.2.8 QUICKSTART.md
shopify_app-7.2.7 QUICKSTART.md
shopify_app-7.2.6 QUICKSTART.md
shopify_app-7.2.5 QUICKSTART.md
shopify_app-7.2.3 QUICKSTART.md
shopify_app-7.2.0 QUICKSTART.md
shopify_app-7.1.1 QUICKSTART.md
shopify_app-7.1.0 QUICKSTART.md