From b9c5b7bad0276895b3532097021f4f56997124c0 Mon Sep 17 00:00:00 2001
From: Charles <criley@erad.com>
Date: Wed, 21 Feb 2018 10:32:57 -0500
Subject: [PATCH] Added some instructions to readme

---
 README.md | 34 +++++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index d4ba6f9..0567756 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,34 @@
-Use this tool to download things from the eRAD git rpeository to a customer's server.
+Use this tool to download protected utilities from the eRAD git rpeository to a customer's server.
 
+From a server, you can get the download tool by issuing the commands (as root!):
+cd /home/medsrv/work/
+curl -Lk https://engineering.erad.com/criley/download-tools/repository/archive.tar.gz -o downloadtools.tar.gz
+tar -zxvf downloadtools.tar.gz
+
+The files in the archive we downloaded will be owned by root, so we must chenge them:
+chown -R medsrv:medsrv download-tools-<tab complete here>
+We have to use tab completion in the above chown command because the directory name can vary.
+
+To use the download tool:
+
+Become the root user
+cd /home/medsrv/work/
+sh download-tools-<tab complete>get_tool.sh <url>
+
+Where url is the url of the tool you want to download.
+The url will be in the form of:
+
+"https://engineering.erad.com/criley/scripttools/repository/archive.tar.gz?ref=master"
+
+where criley is the script maintainer, 
+scripttools is the name of the tool we're downloading,
+and "master" is the branch.
+
+There should always be a development and a master branch.
+The development branch can be downloaded by specifying "develop" rather than "master"
+(This works for any branch name)  
+
+Support people should always download the master branch unless specifically instructed otherwise by the utility maintainer.
+
+You will be prompted for a token, which you will find on the project page on the 
+engineering gitlab.
-- 
GitLab