Skip to content
Snippets Groups Projects
Commit 82c02dc5 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

downgrading to python 3.6 because of installation on dop814

parent fb75c96a
No related branches found
No related tags found
1 merge request!8Add ldv_migrate script
......@@ -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
......
sshtunnel==0.4.0
requests==2.28.1
requests==2.27.1
psycopg2-binary==2.9.3
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment