Workflow for Development with a live app

Solved
Brandammo
Shopify Partner
5 0 2

I may being a bit dim here, but hopefully someone could shed some light on how best to continue development on a custom app while it is published on heroku and live on a website.

Using ngrok urls for the development of the app means the App url and proxy urls need updating in the app config, which means the live site is not isolated from the development environment and will most probably break for live traffic.

Whats the suggested workflow for developing the app while it is live?

 

Appreciate any advice 🙂

Accepted Solution (1)

Accepted Solutions
skulogi
Excursionist
11 2 4

This is an accepted solution.

Hi,

One approach would be  create 2 separate apps in Shopify partner dashboard one for staging/testing and one for live production, this will allow you to have 2 sets of API keys. Also use the Pipeline in heroku to setup staging and production instances,staging instance could be on free dyno. Once everything is tested fine in staging you can promote changes to production. You should also keep the resources(db,queues etc) and configs/parameters separate for staging and production using environment variables.

Hope this helps or provides some hints.

Best Regards,

Building SKULogi – AI based Demand Forecasting and Inventory Planning


If interested check out this blog for more details.

View solution in original post

Replies 4 (4)
skulogi
Excursionist
11 2 4

This is an accepted solution.

Hi,

One approach would be  create 2 separate apps in Shopify partner dashboard one for staging/testing and one for live production, this will allow you to have 2 sets of API keys. Also use the Pipeline in heroku to setup staging and production instances,staging instance could be on free dyno. Once everything is tested fine in staging you can promote changes to production. You should also keep the resources(db,queues etc) and configs/parameters separate for staging and production using environment variables.

Hope this helps or provides some hints.

Best Regards,

Building SKULogi – AI based Demand Forecasting and Inventory Planning


If interested check out this blog for more details.
Brandammo
Shopify Partner
5 0 2

Thank you @skulogi that's great. I had wondered if having 2 instances of the app was the way to go.

I really appreciate your time and advice.

skulogi
Excursionist
11 2 4

You are Welcome 🙂

Building SKULogi – AI based Demand Forecasting and Inventory Planning


If interested check out this blog for more details.
Illia_Kuzma
Shopify Partner
30 2 11

OMG, is there really no dev environment? I just asked Shopify Plus support. They have no idea how to do this. I can't believe it. Shopify keeps surprising me (