Skip to content
Boilerplate code for a simple webapp
Branch: master
Clone or download
robinlagren Merge pull request #9 from firstklash/master
Added URI encoding for username and password in npm scripts
Latest commit 77088e9 May 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
util
.gitignore
README.md added scripts for signing and production deployment May 4, 2018
package-lock.json
package.json

README.md

webapp-boilerplate

Boilerplate code for a simple WebApp

Setup

  • git clone https://github.com/sitevision/webapp-boilerplate.git
  • cd webapp-boilerplate
  • npm install
  • npm run setup

Building

  • npm run create-addon create an addon with the name configured in the setup task
  • npm run zip compress /src into /dist
  • npm run deploy compress /src into /dist and upload to the addon configured in the setup task
  • npm 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.json
  • npm 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 folder
  • npm run prod-deploy deploy the signed WebApp to a production environment

Visit developer.sitevision.se for more information

You can’t perform that action at this time.