From 2295ae64a1c5339c65ee8556c959f6b185167eea Mon Sep 17 00:00:00 2001
From: Ross Crawford-d'Heureuse <ross.crawford@mindcurv.com>
Date: Fri, 9 Oct 2020 14:43:39 +0200
Subject: [PATCH] docs

---
 Makefile  | 36 ------------------------------------
 README.md |  8 ++++++++
 2 files changed, 8 insertions(+), 36 deletions(-)
 delete mode 100644 Makefile

diff --git a/Makefile b/Makefile
deleted file mode 100644
index e648410..0000000
--- a/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-.PHONY: all build login push run
-
-NAME     := rosscdh/keyserver
-TAG      := $$(git log -1 --pretty=%h)
-VERSION  := ${NAME}:${TAG}
-LATEST   := ${NAME}:latest
-
-BUILD_REPO_ORIGIN=$$(git config --get remote.origin.url)
-BUILD_COMMIT_SHA1:=$$(git rev-parse --short HEAD)
-BUILD_COMMIT_DATE:=$$(git log -1 --date=short --pretty=format:%ct)
-BUILD_BRANCH:=$$(git symbolic-ref --short HEAD)
-BUILD_DATE:=$$(date -u +"%Y-%m-%dT%H:%M:%SZ")
-
-
-all: build login push
-
-
-build:
-	docker build -t ${LATEST} -t ${LATEST} \
-		--build-arg BUILD_COMMIT_SHA1=${BUILD_COMMIT_SHA1} \
-		--build-arg BUILD_COMMIT_DATE=${BUILD_COMMIT_DATE} \
-		--build-arg BUILD_BRANCH=${BUILD_BRANCH} \
-		--build-arg BUILD_DATE=${BUILD_DATE} \
-		--build-arg BUILD_REPO_ORIGIN=${BUILD_REPO_ORIGIN} \
-		.
-
-login:
-	docker login ${REGISTRY}
-
-push:
-	docker push ${LATEST}
-	docker push ${TAG}
-
-run:
-	#docker run -v ${PWD}/src:/app/src -p8090:3000 ${LATEST}
-	docker run -p8090:3000 ${LATEST}
\ No newline at end of file
diff --git a/README.md b/README.md
index e9cd6cd..4d43d6e 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,15 @@ The idea is that an identity provider such as an email provider can host their o
 
 Try out the server here: [https://keys.mailvelope.com](https://keys.mailvelope.com)
 
+### Get started
 
+```
+docker-compose up
+docker-compose exec -it mongodb bash
+mongo -u keyserver_user -p keyserver_pass
+use keyserver_db
+db.createUser({ user:"keyserver_user", pwd:"keyserver_pass", roles:[{ role:"readWrite", db:"keyserver_db" }] })
+```
 
 # API