Skip to content

Commit 7ed2013

Browse files
Release 1.0.5
1 parent c2fd2d3 commit 7ed2013

File tree

6 files changed

+39
-7
lines changed

6 files changed

+39
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LABEL maintainer="Predix Edge Adoption"
88
LABEL hub="https://hub.docker.com"
99
LABEL org="https://hub.docker.com/u/predixedge"
1010
LABEL repo="predix-edge-sample-scaler-python"
11-
LABEL version="1.0.4"
11+
LABEL version="1.0.5"
1212
LABEL support="https://forum.predix.io"
1313
LABEL license="https://github.com/PredixDev/predix-docker-samples/blob/master/LICENSE.md"
1414

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,38 @@ Feb 28 03:23:52 predixedge b35f5fc9ed5b[319]: {"messageId":"flex-pipe","body":[{
137137

138138
## Running Locally in Docker
139139

140+
### Automated set up
141+
142+
If you are not aware of the intricacies of downloading the application on your computer, configuring an Edge Application, and creating a Cloud app, you can run the Quickstart script.
143+
144+
If using the Optional Cloud switch, you will see the Time Series data, sent from the edge, in a Cloud web application with a chart.
145+
146+
The script will:
147+
148+
- Offer to install tools you will need
149+
- Use Git to download the Edge Application, build it and get it running locally with all the dependencies
150+
- Create UAA and Time Series and set up the security in the cloud (optional)
151+
- Upload a cloud web application to display the Time Series data sent from the edge (optional)
152+
- Set up Cloud security for the Edge Application (optional)
153+
154+
The manual steps for Edge are in the Manual Set Up section below. (The cloud manual steps are not listed and require the script to run)
155+
156+
For DevBox, Mac and Linux
157+
158+
If you have a Predix Cloud account with an org/space:
159+
160+
```bash
161+
bash <( curl https://raw.githubusercontent.com/PredixDev/predix-edge-sample-scaler-python/master/scripts/quickstart-edge-starter-sample-app.sh )
162+
```
163+
164+
If you do not have a Predix Cloud account with an org/space run this. The Time Series data will not leave the Edge Ref App and you will not be able to see it in a cloud application.
165+
166+
```bash
167+
bash <( curl https://raw.githubusercontent.com/PredixDev/predix-edge-sample-scaler-python/master/scripts/quickstart-edge-starter-sample-app.sh ) --skip-predix-services
168+
```
169+
170+
### Manual Set Up
171+
140172
### Software You will Need
141173

142174
In order to develop and run this sample locally you will need:

docker-compose-local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ services:
3737
- predix-edge-broker_net
3838

3939
edge-app:
40-
image: "predixedge/predix-edge-sample-scaler-python:1.0.4"
40+
image: "predixedge/predix-edge-sample-scaler-python:1.0.5"
4141
environment:
4242
- PYTHONUNBUFFERED=0 # To shows print statements in docker logs
4343
- BROKER=predix-edge-broker

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424
networks:
2525
- predix-edge-broker_net
2626
edge-app:
27-
image: "predixedge/predix-edge-sample-scaler-python:1.0.4"
27+
image: "predixedge/predix-edge-sample-scaler-python:1.0.5"
2828
environment:
2929
- PYTHONUNBUFFERED=0 # To shows print statements in docker logs
3030
- BROKER=predix-edge-broker

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setup(
1313
name='predix-edge-sample-scaler-python',
14-
version='1.0.4',
14+
version='1.0.5',
1515
description='Predix Edge Sample Python App',
1616
long_description=long_description,
1717
install_requires=install_requires,

version.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "Predix Edge Sample Scaler Python",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"private": true,
55
"dependencies": {
66
"local-setup": "https://github.com/PredixDev/local-setup#1.0.106",
7-
"predix-scripts": "https://github.com/PredixDev/predix-scripts#1.1.241",
7+
"predix-scripts": "https://github.com/PredixDev/predix-scripts#1.1.242",
88
"predix-webapp-starter": "https://github.com/PredixDev/predix-webapp-starter.git#2.0.92",
9-
"predix-edge-sample-scaler-python": "https://github.com/PredixDev/predix-edge-sample-scaler-python.git#1.0.4",
9+
"predix-edge-sample-scaler-python": "https://github.com/PredixDev/predix-edge-sample-scaler-python.git#1.0.5",
1010
"opcua": "https://artifactory.predix.io/artifactory/PREDIX-EXT/predix-edge/2_1_0/apps/adapters/predix-edge-opc-ua-adapter-amd64-20181002-1.1.0.tar.gz#",
1111
"predix-edge-broker": "https://artifactory.predix.io/artifactory/PREDIX-EXT/predix-edge/2_1_0/os/predix-edge-broker-amd64-20180917-1.0.2.tar.gz#",
1212
"cloud_gateway": "https://artifactory.predix.io/artifactory/PREDIX-EXT/predix-edge/2_1_0/apps/gateway/predix-edge-cloud-gateway-amd64-20181002-1.1.0.tar.gz#"

0 commit comments

Comments
 (0)