Solved

How to collaborate app created by my colleague?

joeyip
Shopify Partner
4 0 0

My colleague created a new app for his store.  I want to collaborate with him. 
What should we do?

Accepted Solution (1)

Liam
Shopify Staff
2731 302 783

This is an accepted solution.

Hi Joeyip,

 

Here are the steps you can follow to collaborate on an app:

  1. 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.

  2. Once you have access to the code, clone the app to your machine and navigate to the project directory.

  3. 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.

  4. 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.

  5. 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

View solution in original post

Reply 1 (1)

Liam
Shopify Staff
2731 302 783

This is an accepted solution.

Hi Joeyip,

 

Here are the steps you can follow to collaborate on an app:

  1. 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.

  2. Once you have access to the code, clone the app to your machine and navigate to the project directory.

  3. 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.

  4. 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.

  5. 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