Note : This installation is successfully done in Linux Mint 19.3 Cinnamon
Requirements for Installation and setup
Node.js 16 or higher
- Ruby 3.0
- Ruby development environment (
ruby-dev/ruby-devel) - Git
- cURL
- GCC
- g++
Install all depndecies locally.
Tried using node v16.20.2.
Tried using npm 8.19.4.
To install shopify – npm install -g @shopify/cli @shopify/theme
To download theme to work locally – shopify theme pull –store {store-name}
Do the customizations needed.
To serve theme – shopify theme dev
This will load the files. This will show the changed files too. But to reflect the changes, we must push the theme.
To reflect the changes – shopify theme push.
To see the changes in the actual online store – shopify theme publish.