From 82c02dc5a6fc7117579c30f524c867c9f746a8ee Mon Sep 17 00:00:00 2001
From: Nico Vermaas <vermaas@astron.nl>
Date: Mon, 8 Aug 2022 13:34:14 +0200
Subject: [PATCH] downgrading to python 3.6 because of installation on dop814

---
 README.md                    | 15 +++++++++++++++
 ldv_migrate/requirements.txt |  2 +-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 75a2099..6e7a516 100644
--- a/README.md
+++ b/README.md
@@ -75,9 +75,24 @@ atdb_inspect_transition -h
 This is a quick script that is probably used only once to migrate the data from the 
 old `ldvadmin` database to the new `ldv-spec-db` database.
 
+### Deploying (manually)
+For example on `sdc@dop814.astron.nl` (this is our sdc-dev test machine) 
+
+```
+# only once
+> cd ~
+> mkdir ldv-migrate
+> cd ldvspec-migrate
+> virtualenv env3.8 -p python3.8 (on ubuntu)
+> python3 -m venv env3.8 (on centos)
+> source env3.8/bin/activate
+```
+
 ### Installation
 ```bash
 # Using pip install (requires valid ssh key, until the repo is set to public)
+
+
 pip install -e "git+https://git.astron.nl/ldv/ldv_utils.git#egg=ldvspec-migration&subdirectory=ldv_migrate" --upgrade
 pip install -e "git+https://git.astron.nl/ldv/ldv_utils.git@SDC-708-add-ldv-migrate-script#egg=ldvspec-migration&subdirectory=ldv_migrate" --upgrade
 
diff --git a/ldv_migrate/requirements.txt b/ldv_migrate/requirements.txt
index 78fbaa9..ed5fde6 100644
--- a/ldv_migrate/requirements.txt
+++ b/ldv_migrate/requirements.txt
@@ -1,3 +1,3 @@
 sshtunnel==0.4.0
-requests==2.28.1
+requests==2.27.1
 psycopg2-binary==2.9.3
\ No newline at end of file
-- 
GitLab