example/README.md in pact_broker-2.19.2 vs example/README.md in pact_broker-2.20.0

- old
+ new

@@ -1,7 +1,9 @@ # Run Pact Broker example +The configuration for this example should not be used in production. Either use the [Docker Pact Broker image][docker-pact-broker], or copy the [pact_broker directory][pact-broker-dir] from the Docker project as your starting point. Ensure you configure a web server/reverse proxy (such as Passenger/Nginx) in front of it (you can also copy the configuration for these from the Docker image.) + Clone project ```bash git clone https://github.com/pact-foundation/pact_broker ``` @@ -38,11 +40,11 @@ Set up postgres database ```bash psql postgres -c "CREATE DATABASE pact_broker;" -psql postgres -c "CREATE ROLE pact_broker WITH LOGIN PASSWORD 'pact_broker';" +psql postgres -c "CREATE ROLE pact_broker WITH LOGIN PASSWORD 'CHANGE_ME';" psql postgres -c "GRANT ALL PRIVILEGES ON DATABASE pact_broker TO pact_broker;" ``` Install dependencies @@ -61,5 +63,9 @@ ```bash psql pact_broker < example_data.sql ``` Now Pact Broker can be access locally at [http://localhost:9292](http://localhost:9292). + +[docker-pact-broker]: https://github.com/DiUS/pact_broker-docker +[pact-broker-dir]: https://github.com/DiUS/pact_broker-docker/tree/master/pact_broker +