Migrate to Online Store 2.0 | Git Workflow

WAY 1:

1. git clone https://github.com/ivanturnovski/Shopify-Theme-Development-Create-Shopify-Themes-2021---Udemy

2. Check Repo: git remote -v

3. Remove Repo: git remote remove origin

4. git add origin https://github.com/ivanturnovski/Leena---Online-Store-2.0

5. git push -u origin master

6. Open Shopify Admin:

  • Add theme
  • Connect from github

7. npm install

8. theme configure --password=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 --store="ivanturnovski.myshopify.com" --themeid=120612716632

This outputs config.yml file or you can create yourself manually

9. gulp watch

10. Works!!!!

Note: 6 add to github everytime you save the theme. AVOID THIS WAY!

 

WAY 2:

 

1. git clone https://github.com/ivanturnovski/Shopify-Theme-Development-Create-Shopify-Themes-2021---Udemy

2.Open Shopify Admin:

  • Add theme
  • Upload ZIP
  • This won't upload files like gulpfile.js, package.json etc

3. npm install to download the dev dependencies from package.json file

4. theme configure --password=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 --store="ivanturnovski.myshopify.com" --themeid=120613011544 

This outputs config.yml file or you can create yourself manually

5. gulp watch WORKS!

6. Connect to git

  • git remote -v
  • git remote remove origin
  • git remote add origin https://github.com/ivanturnovski/Leena-Online-Store-2.0
  • make changes and push

 

 

0 comments

Leave a comment