WAZIUP Cloud and local platform
HTML FreeMarker JavaScript CSS Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api-server @ e181764 subs Apr 11, 2018
dashboard @ 0e095cb subs Apr 11, 2018
data solved problems with feeder Dec 4, 2017
elasticsearch ELS Feb 9, 2018
els-feeder @ f714996 subs Mar 11, 2018
freeboard group manifest files Jan 30, 2018
keycloak kc bump Jul 19, 2018
kibana-backend @ a191a2e subs Jan 31, 2018
kibana move ELS and kibana Jan 30, 2018
kubernetes INSTALL Feb 2, 2018
manifests manifests Jun 29, 2018
orion group manifest files Jan 30, 2018
proxy new proxy for Amazon Apr 11, 2018
socials @ c1bdb46 subs Apr 11, 2018
tests values Jul 17, 2018
waziup-js @ 67f68ef subs Apr 11, 2018
.env .env Nov 21, 2017
.gitignore git files Dec 1, 2017
.gitmodules add waziup-js submodules Mar 11, 2018
.travis.yml travis Jul 5, 2017
ChangeLog Changelog Jul 20, 2018
README.md Update README.md Jul 18, 2018
docker-compose.yml versions in docker Jun 29, 2018

README.md

travis

WAZIUP platform

The WAZIUP platform is an IoT Big Data platform. It allows to create IoT applications and deploy them both in the Cloud and in the local gateway.

For information and documentation: http://www.waziup.io

Install

To install the platform, first clone it:

git clone git@github.com:Waziup/Platform.git
cd Platform

Then pull the images and run it:

docker-compose pull
docker-compose up

This will take a while. Once finished, you can then access Waziup platform on http://localhost:3000

See this file for the installation instructions on Cloud platforms.

To run a light version of the platform, run:

docker-compose up api-server orion mongo dashboard keycloak socials

Develop

To get the source code for each submodules, you need to clone with --recursive:

# clone the platform with submodules
git clone --recursive git@github.com:Waziup/Platform.git
cd Platform
docker-compose build

Tests

You can run the test campain like this:

docker-compose up
./tests/platform_tests.sh

Or view the API documentation:

firefox localhost/docs

Feeder Tests

In order to see if Feeder is storing data into ElasticSearch:

 curl -X GET 'http://localhost:9200/waziup/_search?q=entity_id:Sensor2-ea0541de1ab7132a1d45b85f9b2139f5&sort=received_time:desc' | jq

Debug

If elasticsearch complains about virtual memory, run this command and restart:

sudo sysctl -w vm.max_map_count=262144

To export the keycloak configuration, run:

docker-compose run --entrypoint "/opt/jboss/docker-entrypoint.sh -b 0.0.0.0 -Dkeycloak.migration.action=export -Dkeycloak.migration.provider=dir -Dkeycloak.migration.dir=/opt/jboss/keycloak/standalone/data/" keycloak
#Stop keycloak when start-up is finished
cd data/keycloak
mv master-realm.json master-users-0.json waziup-realm.json waziup-users-0.json ../../keycloak/imports

Rebuild Keycloak image:

docker-compose build keycloak
docker-compose push keycloak

Copyright

Copyright 2018.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.