diff --git a/README.md b/README.md index 75a20991657e764c512c8f82a50336314fa40e98..6e7a51647ac9165ab3e0a9fff80f3176cf45600e 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 78fbaa96c128c1f3f93a76c32f3acb2dd5ff149b..ed5fde6d979bb827e36652f878bb82cc6fe13156 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