Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
ldv_utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LDV
ldv_utils
Commits
82c02dc5
Commit
82c02dc5
authored
2 years ago
by
Nico Vermaas
Browse files
Options
Downloads
Patches
Plain Diff
downgrading to python 3.6 because of installation on dop814
parent
fb75c96a
No related branches found
No related tags found
1 merge request
!8
Add ldv_migrate script
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+15
-0
15 additions, 0 deletions
README.md
ldv_migrate/requirements.txt
+1
-1
1 addition, 1 deletion
ldv_migrate/requirements.txt
with
16 additions
and
1 deletion
README.md
+
15
−
0
View file @
82c02dc5
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
ldv_migrate/requirements.txt
+
1
−
1
View file @
82c02dc5
sshtunnel==0.4.0
requests==2.2
8
.1
requests==2.2
7
.1
psycopg2-binary==2.9.3
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment