openshift icon indicating copy to clipboard operation
openshift copied to clipboard

[test] document a testing manual script

Open opensas opened this issue 13 years ago • 0 comments

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

opensas avatar Jan 30 '12 05:01 opensas