Files
hawkbit/deployHawkBitSandbox.sh
Kai Zimmermann d8ad9f6ef0 Sandbox uri and user includes DEMO hint (#692)
* New sandbox name und users.

* Fix controllerId in DDI docs.

* Optimise README set new creds

* Revert accidental checkin

* Fix typo.

* Cleanup text.

* Merge
2018-06-06 16:52:34 +02:00

24 lines
944 B
Bash

#
# Copyright (c) 2015 Bosch Software Innovations GmbH and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# This script allows the deployment of the complete hawkBit sandbox including
# data example to a cloud foundry enviroment. Expects existing CF CLI
# installation and login to be existing already.
cf api https://api.eu-gb.bluemix.net
cf login
cf stop hawkbit-simulator
cd hawkbit-runtime/hawkbit-update-server/target/
cf push
cd ../../../../hawkbit-examples/
java -jar hawkbit-example-mgmt-simulator/target/hawkbit-example-mgmt-simulator-0.2.0-SNAPSHOT-exec.jar --hawkbit.url=https://hawkbit-demo-sandbox.eu-gb.mybluemix.net --hawkbit.username=demo --hawkbit.password=demo
cd hawkbit-device-simulator/target/
cf push
cd ../../..