App reviews, troubleshooting, and recommendations
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 🙂
Solved! Go to the solution
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,
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,
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.
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 (
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024