A simple WebApp with four config fields: text, link text, link target and button text.
- A SiteVision website
- A valid certifcate
- The REST-API activated on the site
git clone https://github.com/Rosmos/raz-cookiebar.git
cd webapp-boilerplate
npm install
npm run setup
make sure that domain and site name conforms to the site where the WebApp is going to be used
npm run create-addon
create an addon with the name configured in the setup tasknpm run zip
compress/src
into/dist
npm run deploy
compress/src
into/dist
and upload to the addon configured in the setup tasknpm run force-deploy
compress/src
into/dist
and upload to the addon configured in the setup task. This will overwrite the current WebApp if it has the same version and id defined in manifest.jsonnpm run sign
compress/src
into/dist
and invoke the signing endpoint of the SiteVision developer REST API. A signed version of the WebApp will be created in the/dist
foldernpm run prod-deploy
deploy the signed WebApp to a production environment