Shopify theme development.
staging
You can create as many as feature branches you want, but merge them in staging to deploy on staging
master branch is auto deploy through buddy on Anattadesign theme
- Ruby - Install globally
- Node v6.3.1+ - Install globally
- Gulp - Install globally
After installing all the dependencies follow these steps:
- Go to shopify admin and create new theme from "Anattadesign"
- run
npm installoryarn installin the root of the folder - make copy of
shopifyconfig.sample.jsand rename toshopifyconfig.js - update all the information shopifyconfig is required.
- run
gulp- It will upload all the to your shopify theme
- source files:
src - build files:
dist
Please go through the documentation of these plugins before start coding so that you can get the idea what they are useful for and you can take advantaces of their features. http://postcss.parts/
- precss
- postcss-import
- postcss-url
- lost
- postcss-simple-vars
- postcss-short
- postcss-utilities
- postcss-zindex
- postcss-color-function
- postcss-fontpath
- postcss-easings
- postcss-reporter
- cssnext - It comes with autoprefixer
- Gulp
gulp- run to compile and watch all the assets.gulp dev- run to compile once and it would not watch anything. Also it runs on deploybot for development environment.gulp deploy --production- run to compile assets in production mode. Also it runs on buddy for production environment.
https://github.com/anattadesign/AnattaDesign-frontend-development-guidelines
Happy Coding!