@ticketbutler/event-embedder
v3.4.1
Published
Check out `demo.html` for implementation examples and "testing".
Downloads
789
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-embedder
folder via (npm run build or yarn build). Make sure that thedist
folder was added. - In
demo.html
there 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.js
file. - 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.js
anddist/index.js.map
to the event-embedder folder in GCP - Make a copy of
index.js
namedindex_<version_number>.js
and upload to GCP