Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

24 lines (19 loc) · 1.02 KB

Launch

npm i
npm run {dev|prod}

Deploy to GitHub Pages

./gh-pages-deploy.sh

Usage

To launch locally, you must build app with npm run prod and put files from ./dist directory to the NGINX - or use python simple HTTP server. Platform host is defined in ./src/config.js. If you want to use platform, other than hardcoded in code without redeploy, just load webpage with URL param platform, e.g.:

http://semiot.ru/almazov-temperature/?platform=test.semiot.ru

This demo assume that platform work on HTTPS. Do not forget to authorize insecure platform's HTTPS cert in neighbor tab.

Also:

  • If you want base URL other, than /almazov-temperature/ (e.g. /), edit it in ./src/config.js before assembling.
  • Because of current limitations, provided by cookie-based authentication, platform must allow user to transfer credentials through different domains. Learn more about CORS