Installing The SiteChef CLI
- install node.js
- install yarn 1.x
- install nvm
- set the node version to
8.2.1
- this is a requirement until we are able to successfully upgrade thesitechef-cli
- install the sitechef command line utility
yarn global add sitechef
- clone your theme to a local directory
sitechef init [your-api-key] [optional directory name]
eg:sitechef init 999999999888888
Setting up an existing theme
If you have cloned a theme from github and the package.json
does not
already have a script for installing it you should run
sitechef setup <your api key>
Generate an API key for a theme
- Sign in to the SiteChef Admin area
- Go to the "Your Account" section
- Turn on "Developer Mode":
- Go to "Theme Manager" and click "Edit/Clone Existing"
- Select one of the existing themes and choose "New From This"
- Create a new name and description for this theme. "Clonable" means that this theme can be cloned by other developers "Private" means that this theme will only be made available to the current site