Clone repo: git clone <https://github.com/avex-designs/avex-codebase>
Install dependencies: npm install
Change git origin URL:
git remote set-url origin new.git.url/here
git branch -M main
git push -u origin main
Connect theme in Shopify admin via Github - Themes -> Add theme -> Connect from Github
Checkout to the new branch (not main
branch) - git checkout -b ‘dev’
Run npm start
to start the dev theme and start development.
Once done with changes, push to dev
branch, open and merge PR
main
branch)npm start
and start developmentsrc
folder is compiled and exported to assets
folder.dev
) and push them. Then, go to GitHub and create a pull request. GitHub actions will ensure that webpack recompiles all source files after the merge is complete.