Trivial readme updates to test PR builds

This commit is contained in:
R. Tyler Croy 2016-01-07 13:31:02 -08:00
parent 7b0cdc417a
commit bf3e6d9f7a
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 12 additions and 7 deletions

View File

@ -1,13 +1,17 @@
# Jenkins Account Management/Sign-up App
[![Build Status](http://ci.jenkins-ci.org/view/Infrastructure/job/infra_accountapp/badge/icon)](http://ci.jenkins-ci.org/view/Infrastructure/job/infra_accountapp/)
## Testing locally
First, set up a tunnel to Jenkins LDAP server. Run the following command and keep the terminal open:
First, set up a tunnel to Jenkins LDAP server. Run the following command and
keep the terminal open:
ssh -L 9389:localhost:389 cucumber.jenkins-ci.org
Create `config.properties` in the same directory as `pom.xml`. See the `Parameters` class for the details,
but it should look something like the following:
Create `config.properties` in the same directory as `pom.xml`. See the
`Parameters` class for the details, but it should look something like the
following:
server=ldap://localhost:9389/
managerDN=cn=admin,dc=jenkins-ci,dc=org
@ -23,11 +27,12 @@ Finally, run the application with Jetty, then access `http://localhost:8080/`:
mvn jetty:run
(As you can see above, this connects your test instance to the actual LDAP server, so the data you'll be seeing
is real.
(As you can see above, this connects your test instance to the actual LDAP
server, so the data you'll be seeing is real.
## Packaging
For deploying to production, this app gets containerized. The container expects to see `/etc/accountapp` mounted
from outside that contains the abovementioned `config.properties`
For deploying to production, this app gets containerized. The container expects
to see `/etc/accountapp` mounted from outside that contains the abovementioned
`config.properties`