opensas/openshift — Issue #26: [test] document a testing manual script
Author: opensas
Created: 2012-01-30 05:33:28+00:00
State: open
Labels: test

### 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