It sounds like you may be having one of a few issues:
- Installing Cloud Foundry CLI
- Signing into Predix using the CF CLI
- Setting up a Raspberry Pi to communicate with Predix Platform
It is not typical to do development work on the Pi itself. For more guidance on setting up the Pi with Predix-- see this step-by-step guide: https://www.predix.io/resources/tutorials/journey.html#1750
If you are getting a login failure from the CF CLI running on your development host (laptop), you'll need to provide a few more details on the error you are seeing. Make sure you can login to the web console with your email / password to insure you have a valid account: https://www.predix.io/console/
If you are having trouble installing the CF CLI, you will need to provide a few more details about what is not running. If you can run cf -version
and get a response it is likely you have already installed it successfully.
If you do have the CF CLI installed properly, and you do have a email/password to log into cloud foundry -- next verify you are talking to the correct API endpoint and do not have a proxy blocking you.
For Predix, the API endpoint is: https://api.system.aws-usw02-pr.ice.predix.io
Some firewalls may block access however, so check the proxy settings for your organization to make sure you are able to access it.
Hope that helps.