Skip to content

Commit

Permalink
PP-652 Dev instructions are now irrelevant
Browse files Browse the repository at this point in the history
Remove them, will be centralised in pay-scripts README.md
  • Loading branch information
ijmad committed Apr 14, 2016
1 parent e3379e3 commit a47c0d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
22 changes: 0 additions & 22 deletions README.md
@@ -1,28 +1,6 @@
# pay-connector
The GOV.UK Pay Connector in Java (Dropwizard)

## Running in Development Mode

Steps are as follows:

1. Use a docker-compose environment to run everything (such as the database) that you don't want to develop on right now.
2. Stop `pay-connector` in the docker (`docker stop pay-connector`), to get ready to run from your checked out copy instead.
3. Because other services (inside or outside of docker) will try and talk to connector on dockerhost (not localhost), run the redirect script to send these requests to localhost.
4. Use `env.sh` to pick up the same environment variables from `pay-scripts`, so configuration is set correctly (this assumes `$WORKSPACE/pay-scripts` exists).

For example:

```
$ ./redirect.sh start
$ ./env.sh mvn exec:java
...
(pay-connector log output)
...
(press CTRL+C to stop service)
...
$ ./redirect.sh stop
```

## Config

Important configurations.
Expand Down
3 changes: 3 additions & 0 deletions env.sh
Expand Up @@ -6,4 +6,7 @@ then
source $ENV_FILE
set +a
fi

export CERTS_PATH=$WORKSPACE/pay-scripts/services/ssl/certs

eval "$@"

0 comments on commit a47c0d9

Please sign in to comment.