Questions and discussions about using the Shopify CLI and Shopify-built libraries.
My colleague created a new app for his store. I want to collaborate with him.
What should we do?
Solved! Go to the solution
This is an accepted solution.
Hi Joeyip,
Here are the steps you can follow to collaborate on an app:
You need to request your colleague to share the app's code with you. He can do this by pushing the code to a shared repository like GitHub or Bitbucket.
Once you have access to the code, clone the app to your machine and navigate to the project directory.
Install the project dependencies. If the app is created with Shopify CLI 3 or higher, Shopify CLI is a dependency. You can install it using your package manager's install
command.
You can now preview the app. Shopify CLI uses Cloudflare to create a tunnel that allows the app to be accessed using a unique HTTPS URL. You can open your app's preview URL in a browser by pressing p
.
Finally, you need to connect your local app to the existing app in the Shopify Partner Dashboard. This involves logging into your Shopify Partner account, selecting the right organization if needed, and connecting your app to the existing app.
Remember, this approach only applies to apps created with Shopify CLI 3 or higher. If your colleague is using a previous version of Shopify CLI, then consider migrating your app to use the newest version.
Hope this helps!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hi Joeyip,
Here are the steps you can follow to collaborate on an app:
You need to request your colleague to share the app's code with you. He can do this by pushing the code to a shared repository like GitHub or Bitbucket.
Once you have access to the code, clone the app to your machine and navigate to the project directory.
Install the project dependencies. If the app is created with Shopify CLI 3 or higher, Shopify CLI is a dependency. You can install it using your package manager's install
command.
You can now preview the app. Shopify CLI uses Cloudflare to create a tunnel that allows the app to be accessed using a unique HTTPS URL. You can open your app's preview URL in a browser by pressing p
.
Finally, you need to connect your local app to the existing app in the Shopify Partner Dashboard. This involves logging into your Shopify Partner account, selecting the right organization if needed, and connecting your app to the existing app.
Remember, this approach only applies to apps created with Shopify CLI 3 or higher. If your colleague is using a previous version of Shopify CLI, then consider migrating your app to use the newest version.
Hope this helps!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog