Skip to content

[test] document a testing manual script #26

@opensas

Description

@opensas

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 opensas@gmail.com

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 opensas@gmail.com -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 'opensas@gmail.com' in openshift

Do you want to create it? [yes] n

play rhc:deploy -o -b -l opensas@gmail.com -p redsas

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions