You need to have node 8.9+ installed.
Bootstrap your .env
file:
cp .env.example .env
Install and run:
npm install
npm run dev
The example env assumes a Republik backend running on port 5010. The backend needs to run on the same TLD for cookie sharing.
(Very drafty section)
Copy and adopt zat/settings.json.example
as zat/settings.json
Append https://{subdomain}.zendesk.com
to ENV variable CSP_FRAME_ANCESTORS
Run and keep running Zendesk App Tools server:
npm run zat:dev
Run republik-admin-frontend (as you would for development):
npm run dev
Open Zendesk with zat=true
query parameter:
- https://{subdomain}.zendesk.com/agent/tickets/{Ticket ID}?zat=true
npm run zat:package
Upload latest ZIP file in zat/tmp to Zendesk https://{subdomain}.zendesk.com/agent/admin/apps/manage
- https://developer.zendesk.com/documentation/apps/app-developer-guide/zat/
- https://github.com/zendesk/zat-docker/blob/master/Dockerfile
- https://developer.zendesk.com/documentation/apps/app-developer-guide/manifest
The source code is «BSD 3-clause» licensed.