IMPORTANT Is needed to add file ./src/settings.json with content:
{
"token": <Info in Confluence page>
}
$ docker-compose up --build
In the Dockerfile you have to set parameter --app-id to relevant ID, which you have installed as private on zendesk server.
Here you can find an ID: https://d3v-smartlook.zendesk.com/api/support/apps/installations.json
Go to Zendesk ticket and add on the end of URL ?zat=true
and allow loading external unsafe scripts in your browser
Now you can modify your code and after reload Zendesk page you have a new update Smartlook App, without rebuilding docker image. (Only if it without changes on docker image)
$ gem install zendesk_apps_tools
After application editions run validator
$ zat validate
If everything is OK then
$ npm run build
$ zat package
and you are ready to upload it into Zendesk Marketplace
Zendesk marketplace application
Requirements:
- Ruby
- ZAT gem
- Npm
- Gulp
- Go to http://railsinstaller.org/en and download the Mac installer.
- Double-click the downloaded file and follow the instructions.
- The wizard installs a lot of files. If the installation appears to freeze, give it time. It'll finish eventually.
Test the installation by checking the version number:
$ ruby -v
$ gem install zendesk_apps_tools
After application editions run validator in src folder
$ cd src
$ zat validate
If everything is OK then
$ npm run build
$ zat package
and you are ready to upload it into Zendesk Marketplace
$ zat server
Go to Zendesk ticket and add on the end of URL ?zat=true
and allow loading external unsafe scripts in your browser