From a3426b9011c7d710533b361a3551d3662d1de066 Mon Sep 17 00:00:00 2001
From: Mathias Lundteigen Mohus <mathialm@stud.ntnu.no>
Date: Mon, 10 Jan 2022 15:14:41 +0100
Subject: [PATCH] Update README.md with proper git clone URL, and added
 sections on running Docker as admin

---
 README.md | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 911512b..0a59dcb 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ Download: https://innsida.ntnu.no/wiki/-/wiki/English/Microsoft+Windows+10
 
 ### Install:
 
-$ git clone https://gitlab.stud.idi.ntnu.no/kyleo/secfit.git \
+$ git clone https://gitlab.stud.idi.ntnu.no/<your username>/tdt4242-base.git \
 $ cd secfit/
 
 ### Run:
@@ -25,6 +25,18 @@ $ cd secfit/
 $ docker-compose up --build \
 Hosts the application on http://localhost:9090 with default settings
 
+You might have to run Docker with administrator privileges to get it to run properly:
+
+#### Windows:
+Either open the terminal as administrator (Windows key -> Search "cmd" -> "Run as administrator")
+
+or
+
+$ runas /user/Administrator "docker-compose up --build"
+
+#### Unix/OSX:
+$ sudo docker-compose up --build
+
 
 ## Technology
 - **deployment** Docker
@@ -172,4 +184,4 @@ Continuous integration will build the code pushed to master and push it to your
    `heroku run python backend/secfit/manage.py migrate -a <heroku-app-name>`. `Heroku run` will run the folowing command on your heroku instance. Remember to replace `<heroku-app-name>` with your backend app name
    * and create an admin account for the backend by running
    `heroku run python backend/secfit/manage.py createsuperuser -a <heroku-app-name>`.
-   * seed database `heroku run python backend/secfit/manage.py loaddata backend/secfit/seed.json -a <heroku-app-name>`
\ No newline at end of file
+   * seed database `heroku run python backend/secfit/manage.py loaddata backend/secfit/seed.json -a <heroku-app-name>`
-- 
GitLab