Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Some way for have production and development projects on the same repo

Solved

Some way for have production and development projects on the same repo

Juanestban
Shopify Partner
8 2 1

Guys, I have a question about that, I'm development some app from shopify but already I deployed the app and that be running correctly but if I try start development this will change the URL from my app

 

If the URL app change to dev URL the users would see this branch and not the deployed app

so... do you know some way for have or handle this trouble?

 

some fix, idea or any thing for solve that?

 

this is the URL dev that I wann't show to final users, but alway that I want run command `shopify dev` this will change the production URL to dev URL

Juanestban_0-1704136806286.png

 

Accepted Solution (1)

Ole_Visionz
Shopify Partner
45 8 20

This is an accepted solution.

I think this is a common issue for everyone who deploys their first app...

 

I recommend having two separate repositories for two separate Apps in two separate stores. (A dev system and a productive system)

 

This should be the easiest way (maybe even the only way)

 

It is the way I work and others too, like in this thread over here

 

 

If you find my suggestions helpful, kindly express your feedback by liking or marking them as a solution.
Our (German) agency: visionz.de
Our Shopify App for custom pricing & unlimited product options: Visionz Easy Product Options

View solution in original post

Replies 2 (2)

Ole_Visionz
Shopify Partner
45 8 20

This is an accepted solution.

I think this is a common issue for everyone who deploys their first app...

 

I recommend having two separate repositories for two separate Apps in two separate stores. (A dev system and a productive system)

 

This should be the easiest way (maybe even the only way)

 

It is the way I work and others too, like in this thread over here

 

 

If you find my suggestions helpful, kindly express your feedback by liking or marking them as a solution.
Our (German) agency: visionz.de
Our Shopify App for custom pricing & unlimited product options: Visionz Easy Product Options

jeff-edmondson
Shopify Partner
12 4 2

I had this exact same problem and ended up on this thread. I wrote up a complete blog post about how I was able to get my development and production workflow setup

 

I relied heavily on the Configuration documentation but I found it still a little bit confusing. Please let me know if you have anymore questions 

 

Fullstack Software Engineer empowering Shopify entrepreneurs
Apps: Redirect Ninja - Easy 404