Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] document a testing manual script #26

Open
opensas opened this issue Jan 30, 2012 · 0 comments
Open

[test] document a testing manual script #26

opensas opened this issue Jan 30, 2012 · 0 comments
Assignees
Labels

Comments

@opensas
Copy link
Owner

opensas commented Jan 30, 2012

play new test-app

cd test.app

gedit conf/dependencies.yml

# Application dependencies

require:
    - play

#    - com.playdoces -> openshift 1.0
#
# My custom repositories
#repositories:
#    
#    - playdoces:
#        type:       http
#        artifact:   "http://playdoces.appspot.com/repo/[module]-[revision].zip"
#        contains:
#            - com.playdoces -> *

    - openshift -> openshift

repositories:
    - My local modules:
        type:       local
        artifact:   ${application.path}/../../[module]
        contains:
            - openshift

play deps

play rhc:chk

ERR: You must provide your red hat's login using the -l RHLOGIN command line option or setting openshift.rhlogin in application.conf file.

play rhc:chk -l [email protected]

ERR: You must provide your openshift password using the -p PASSWORD command line option or setting openshift.password in application.conf file.

play rhc:chk -l [email protected] -p pass

ERR: ERROR - Invalid application name: 'test-app'. It should only contain alphanumeric characters

echo "openshift.application.name=testapp" >> conf/application.conf

the application 'testapp' does not exist for login '[email protected]' in openshift

Do you want to create it? [yes] n

play rhc:deploy -o -b -l [email protected] -p redsas

@ghost ghost assigned opensas Jan 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant