From 973b050b656d08eb573b67e9a0e8d894f3bd9696 Mon Sep 17 00:00:00 2001 From: Matthias Stock Date: Wed, 8 Mar 2017 23:05:20 +0000 Subject: [PATCH 1/4] Minimal README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..ecc705d --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# Getting Started + +1. Install Docker. +2. Set up an environment variable `LAB_MONOLITH_DB_IP` and assign the docker host's IP. + + For docker machine type `docker-machine env` and the value of `$DOCKER_HOST`, + otherwise `localhost` is probably correct. + +3. Set up an environment variable `LAB_MONOLITH_DB_PASSWORD` and assign any password. + +4. `./start-db.sh` + + Starts a PostgreSQL database using the password from `LAB_MONOLITH_DB_PASSWORD`. + +5. `gradle bootRun` +6. Open http://localhost:8080 From b302170d5b411f2e6e5c4b2f993b079d92dd8edd Mon Sep 17 00:00:00 2001 From: Matthias Stock Date: Wed, 8 Mar 2017 23:05:46 +0000 Subject: [PATCH 2/4] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ecc705d..8d62c9b 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,14 @@ 1. Install Docker. 2. Set up an environment variable `LAB_MONOLITH_DB_IP` and assign the docker host's IP. - For docker machine type `docker-machine env` and the value of `$DOCKER_HOST`, - otherwise `localhost` is probably correct. + For docker machine type `docker-machine env` and the value of `$DOCKER_HOST`, + otherwise `localhost` is probably correct. 3. Set up an environment variable `LAB_MONOLITH_DB_PASSWORD` and assign any password. 4. `./start-db.sh` - Starts a PostgreSQL database using the password from `LAB_MONOLITH_DB_PASSWORD`. + Starts a PostgreSQL database using the password from `LAB_MONOLITH_DB_PASSWORD`. 5. `gradle bootRun` 6. Open http://localhost:8080 From e53410a599c030a07bef864b987e0b0fcb657e76 Mon Sep 17 00:00:00 2001 From: Matthias Stock Date: Wed, 8 Mar 2017 23:07:54 +0000 Subject: [PATCH 3/4] Update README.md GitLab needs four spaces for Markdown list indentation... --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 8d62c9b..ebfea68 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ # Getting Started -1. Install Docker. -2. Set up an environment variable `LAB_MONOLITH_DB_IP` and assign the docker host's IP. +1. Install Docker. +2. Set up an environment variable `LAB_MONOLITH_DB_IP` and assign the docker host's IP. - For docker machine type `docker-machine env` and the value of `$DOCKER_HOST`, - otherwise `localhost` is probably correct. + For docker machine type `docker-machine env` and the value of `$DOCKER_HOST`, + otherwise `localhost` is probably correct. -3. Set up an environment variable `LAB_MONOLITH_DB_PASSWORD` and assign any password. +3. Set up an environment variable `LAB_MONOLITH_DB_PASSWORD` and assign any password. -4. `./start-db.sh` +4. `./start-db.sh` - Starts a PostgreSQL database using the password from `LAB_MONOLITH_DB_PASSWORD`. + Starts a PostgreSQL database using the password from `LAB_MONOLITH_DB_PASSWORD`. -5. `gradle bootRun` -6. Open http://localhost:8080 +5. `gradle bootRun` +6. Open http://localhost:8080 From 3a1f60a55d3b990df27992347099147782fbec76 Mon Sep 17 00:00:00 2001 From: Matthias Stock Date: Wed, 8 Mar 2017 23:17:25 +0000 Subject: [PATCH 4/4] Add license --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..577f5c6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017 Matthias Stock + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.