IstSOS Web Widget Creator is a Web application that introduces tools for generating feature-rich widgets based on sensor observation data from IstSOS. It was developed using ES6 syntax, Babel transpiler and Webpack and It relies on IstSOS JavaScript core library. Tools that are offered to end-users/developers:
- Map tool
- Box tool
- Chart tool - (currently unabailable!!!)
In order for IstSOS Web Widget Creator to work as expected, there are couple of requirements needed to be taken care of before installation:
- Server configuration JSON needs to be populated. There is already a template file inside the
./spec
folder. - Observed property configuration JSON needs to be populated. There is already a template file inside the
./spec
folder. - IstSOS needs to be installed
- Clone the repository:
git clone https://github.com/istSOS/web-widget-creator.git
- Install dependencies:
npm install
- Put the application on your server
-
For developers:
- Start development environment(for developers):
npm start
Navigate to http://localhost:9001/
- Run application build(for developers):
npm run build
- Select one of the tools
- Populate the form on the left side and click GENERATE button
- On the right side, there will be an output preview and output embeddable code
- Copy the code and paste it into your web page