@ticketbutler/event-embedder
v3.4.1
Published
Check out `demo.html` for implementation examples and "testing".
Readme
Client loaded embedding tool for ticketbutler event pages
Check out demo.html for implementation examples and "testing".
Steps to test iframe locally:
- Do a build for
event-embedderfolder via (npm run build or yarn build). Make sure that thedistfolder was added. - In
demo.htmlthere are some html templates with test iframes, comment out templates which aren't required. - In order to test or modify iframe code, you will have to work with
src/index.jsfile. - Every time you apply any changes, you will have to re-run the build command and refresh the page in the browser.
Deployment
The event embedder is hosted on cdn.ticketbutler.io in Google Cloud Platform > Cloud Storage > Buckets > cdn.ticketbutler.io > event-embedder.
To make a deployment:
- Run
yarn release - Copy
dist/index.jsanddist/index.js.mapto the event-embedder folder in GCP - Make a copy of
index.jsnamedindex_<version_number>.jsand upload to GCP
