Updated README to include MongoDB docker instructions
Compare changes
+ 17
− 4
@@ -8,7 +8,7 @@ Proof of concept project within the Microservice initiative, the Foundation look
@@ -8,7 +8,7 @@ Proof of concept project within the Microservice initiative, the Foundation look
@@ -74,10 +74,22 @@ For ease of use, a script has been created to load sample data into a MongoDB in
@@ -74,10 +74,22 @@ For ease of use, a script has been created to load sample data into a MongoDB in
1. Run `npm run-script load-listings -- -s <api-url>`, replacing `<api-url>` with the URL of a running instance of this API (e.g. http://localhost:8090). This should take a couple of moments, as by default the loader will load 5000 dummy entries into MongoDB. This can be changed using a `-c` flag followed by the number of entries to be created.
1. Run `npm run-script load-listings -- -s <api-url>`, replacing `<api-url>` with the URL of a running instance of this API (e.g. http://localhost:8090). This should take a couple of moments, as by default the loader will load 5000 dummy entries into MongoDB. This can be changed using a `-c` flag followed by the number of entries to be created.
The following command can be used in any environment with Docker fully configured to run MongoDB with some basic settings. The password and username can be configured to be more secure, so long as the application.properties and secret.properties are updated to reflect the changes (`quarkus.mongodb.credentials.username` and `quarkus.mongodb.credentials.password` respectively).
@@ -90,7 +102,8 @@ For ease of use, a script has been created to load sample data into a MongoDB in
@@ -90,7 +102,8 @@ For ease of use, a script has been created to load sample data into a MongoDB in