Hi everyone
I released a Shopify admin app build with remix a few weeks ago, I have now a few customers but I have to admit I’m still confused about the whole Shopify app development workflow.
So I developed my app on my local machine and deployed it on Railway using Docker, I updated the config in the Shopify Partners to point to the Railway url. When I want to release a new version to customer, I push a commit to Github which then deploy to Railway. as long as I keep the Railway url in the Shopify config everything works fine.
The issue I have is that when I run npm run dev
on my machine in order to run my app on a development store, it updates the config in the Shopify partners to point to a Cloudfare url which then is served to all the stores (including the customers). Basically I have not found a way to separate my dev app to my prod app, and I’m not even talking of adding a pre-release or beta version, which I would like to.
Do you have the same issue or am I missing something? how did you solve it?
Thanks