Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Openshift - rhc tail command

When I try directly run rhc tail from app dir it allways tell:

C:\Documents and Settings\user\git\service>rhc tail You must specify an application with -a, or run this command from within Git directory cloned from OpenShift. Usage: rhc tail Pass '--help' to see the full list of options

I cloned the application right before it. What is the reason?

like image 822
andy007 Avatar asked Jun 28 '26 23:06

andy007


1 Answers

If you used git clone <repository_url> then you have to use rhc tail --app <app_name> command. If you want rhc tail to figure out app name for you, then you should use rhc git-clone --app <app_name> command to clone the repository. The rhc git-clone command adds few properties to your .git/config file that OpenShift uses to determine app name, that looks like this:

[rhc]
    app-id = 64546576654634028d
    app-name = example
    domain-name = example
like image 159
Shekhar Avatar answered Jul 01 '26 23:07

Shekhar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!