- Clone the repo and create a ThemeKit config file.
$ git clone git@github.com:scottdixon/fed.git
$ cd fed-assignment
$ touch config.yml
- Update the config file to include development and production environment details:
development:
password: <api-password>
theme_id: <preview-theme-id>
store: <store>
production:
password: <api-password>
theme_id: <live-theme-id>
store: <store>
$ yarn serve
will launch the development theme in the browser and start ThemeKit. ThemeKit will listen for changes to the files and upload them automatically.
$ yarn deploy
will deploy the latest changes to production.