-
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’
-
npm run prepare
for husky prepare, to avoid conflicts with min files. -
Run
npm start
to start the dev theme and start development. -
Once done with changes, push to
dev
branch, open and merge PR
- Checkout to the new branch (not
main
branch) - Run
npm start
and start development - Configure Github actions in order to ensure that the latest code from
src
folder is compiled and exported toassets
folder. - Make changes to your branch (
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.
For more detailed explanations and full list of features please refer to docs.