mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-03 09:43:33 +02:00
Merge branch 'nl/981-test-domain-migration-script' of https://github.com/cisagov/manage.get.gov into nl/981-test-domain-migration-script
This commit is contained in:
commit
32dd542f45
1 changed files with 2 additions and 2 deletions
|
@ -207,7 +207,7 @@ This will allow Docker to mount the files to a container (under `/app`) for our
|
||||||
- Open a terminal and navigate to `src/`
|
- Open a terminal and navigate to `src/`
|
||||||
|
|
||||||
|
|
||||||
*You are now ready to run migration scripts (see "Running the Migration Scripts")*
|
*You are now ready to run migration scripts.*
|
||||||
|
|
||||||
## Transition Domains (Part 2) - Running the Migration Scripts
|
## Transition Domains (Part 2) - Running the Migration Scripts
|
||||||
|
|
||||||
|
@ -215,7 +215,7 @@ This will allow Docker to mount the files to a container (under `/app`) for our
|
||||||
|
|
||||||
### STEP 1: Load Transition Domains
|
### STEP 1: Load Transition Domains
|
||||||
|
|
||||||
Run the following command, making sure the filepaths point to the right location. This will parse the three given files and load the information into the TransitionDomain table. (NOTE: If working in the sandbox, change "/app/tmp" to point to the sandbox directory)
|
Run the following command, making sure the file paths point to the right location. This will parse the three given files and load the information into the TransitionDomain table. (NOTE: If working in cloud.gov, change "/app/tmp" to point to the `migrationdata/` directory)
|
||||||
```shell
|
```shell
|
||||||
docker compose run -T app ./manage.py load_transition_domain /app/tmp/escrow_domain_contacts.daily.gov.GOV.txt /app/tmp/escrow_contacts.daily.gov.GOV.txt /app/tmp/escrow_domain_statuses.daily.gov.GOV.txt --debug
|
docker compose run -T app ./manage.py load_transition_domain /app/tmp/escrow_domain_contacts.daily.gov.GOV.txt /app/tmp/escrow_contacts.daily.gov.GOV.txt /app/tmp/escrow_domain_statuses.daily.gov.GOV.txt --debug
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue