I have tried to push hello world app to the cloud using dev Box. I had entered an email but I couldn`t enter a password into the terminal. Then I decided to push it using host os (win 10). But predix cli wasn`t installed. And I cannot understand what is wrong. I was following all instruction for installing predix cli. But after all , predix commands (predix -v, px -v) don`t work. So I have encountered with two problems: - a password wasn`t entered - predix cli wasn`t installed Could you offer anything I need to do?
Answer by kiev@indusoft.ru · Apr 30, 2018 at 12:04 PM
@Tom Turner, I tried again to install predix cli. I followed manual installation instructions. I downloaded the file 'predix-cli.tar.gz', Extract it. But there wasn`t any executable file just three files (in )
That looks like the contents of source v0.6.33.zip in a folder named predix-cli-0.633.
Instead the tar.gz creates a folder name predix-cli.
Try doing this un tarring in a new empty directory so it's more clear.
I solved a problem with executable file. Now the command "predix login" works. But when I try to connect to the cloud and type a password - all keys are uinactive. I did it using cmd. Then I tried it through Git Bash. I couldn`t connect as well
Yes, that is the same for me on OS X. It does not reflect back any characters that I am typing. It is taking your characters. At that point, the Predix CLI has forwarded control to the underlying Cloud Foundry CLI.
You can ask about that here.
https://github.com/cloudfoundry/cli
When you hit enter does it tell you about "Credentials were rejected"? If so, maybe you need to reset your password because you don't know it?
have you tried it directly with the underlying CF CLI?
cf login
As for git bash, interactive login does not work using the CF CLI in Putty or git-bash. You can use the switches
cf login -u my-user -p my-password
or
predix login -u my-user -p my-password
so, perhaps you don't know the right password. You can test your password by doing a Sign In on predix.io.
You can also reset your password on by clicking the link on the sign in screen, I believe.
Answer by Tom Turner · Apr 30, 2018 at 10:00 AM
For Devbox, the devbox username password is predix/predix. Inside DevBox, to log in at the terminal window you would do
predix login <then hit enter on keyboard>
After choosing the PoP, you enter your Predix email login.
Are you saying you tried to type in the password at this point and something didn't work? Can you do a screen shot or short video?
For Windows 10, to install Predix CLI using script, you would do
@powershell -Command "(new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/PredixDev/local-setup/master/setup-windows.bat','%TEMP%/setup-windows.bat')" && %TEMP%/setup-windows.bat /predixcli
To install Predix CLI manually, it's good to know it's just an executable file. Just place it in a folder that is in the PATH. Including the px shortcut. See the README
https://github.com/PredixDev/predix-cli
Be aware that the underlying Cloud Foudry (CF) CLI does not work well outside the windows command window. There is a way to use the switches for username and password in Putty or Git-Bash, but it will appear clear-text (no stars masking the password).
Failed to open session in Virtual Box 1 Answer
gs-spring-boot build failure 4 Answers
DevBox on Windows virtualization like Hyper V 1 Answer
px-tabs: is it possible to navigate in px-tabs with keyboard events? 2 Answers
getting INVA/INVA characters instead of date for in the IPAD for the date-time picker 3 Answers