An open API service indexing awesome lists of open source software.

https://github.com/indaco/predix-ec-configurator-docker

predix-ec-configurator as Docker container
https://github.com/indaco/predix-ec-configurator-docker

Last synced: 6 months ago
JSON representation

predix-ec-configurator as Docker container

Awesome Lists containing this project

README

          

# Predix Enterprise Connect Configurator - Docker

### Prerequisistes

- Clone this repos `git clone https://github.com/indaco/predix-ec-configurator-docker`

- Execute the `init.sh` file to clone the **predix-ec-configurator** repos or simply use `git clone https://github.com/indaco/predix-ec-configurator`

- Edit `predix-ec-configurator/config.json` file with your Predix.io credentials. If you are not on Predix Basic make sure to update the domain and the api endpoint too:

```shell
"predix": {
"domain": "run.aws-usw02-pr.ice.predix.io",
"api": "https://api.system.aws-usw02-pr.ice.predix.io",
"username": "",
"password": ""
}
```

### How to use it?

You can use the `Makefile` with(`make run` and `make stop`) or do it manually:

``` shell
# Build the image:
docker build -t indaco/ecapp .

# Instantiate a container and run it
docker run --name ecapp-instance \
-p 9000:9000 \
-v predix-ec-configurator:/go/src/github.com/indaco/ecapp \
-d -it indaco/ecapp
```

### Get the output

The autogenerated output will be placed at `predix-ec-configurator/output` on your local machine.