To run a receiver app in Predix, follow this sequence:
- Install and connect the Сloud Foundry CLI to your Predix account.
- Create a PostgreSQL service and obtain the credentials.
- Create the ./receiver/manifest.yml file with the following content:
applications:-name: receivermemory: 128Mrandom-route: true
- Replace the database credentials in ./receiver/index.js.
- Deploy to the cloud:
cf push
- Change the REMOTE-SERVER-ADDRESS in the hub application on the RPi to the newly deployed receiver.