mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-28 23:33:32 +02:00
revising login simulation -- committing for sandbox testing
This commit is contained in:
parent
cb3cfe3a6d
commit
852f22a57a
3 changed files with 35 additions and 15 deletions
|
@ -84,6 +84,10 @@ FILE 1: **escrow_domain_contacts.daily.gov.GOV.txt** -> has the map of domain na
|
|||
FILE 2: **escrow_contacts.daily.gov.GOV.txt** -> has the mapping of contact id to contact email address (which is what we care about for sending domain invitations)
|
||||
FILE 3: **escrow_domain_statuses.daily.gov.GOV.txt** -> has the map of domains and their statuses
|
||||
|
||||
We need to run a few scripts to parse these files into our domain tables.
|
||||
We can do this both locally and in a sandbox.
|
||||
|
||||
## OPTION 1: SANDBOX
|
||||
## Load migration data onto a production or sandbox environment
|
||||
**WARNING:** All files uploaded in this manner are temporary, i.e. they will be deleted when the app is restaged.
|
||||
Do not use this method to store data you want to keep around permanently.
|
||||
|
@ -169,6 +173,7 @@ Run the following script to transfer the existing data on our .txt files to our
|
|||
./manage.py load_transition_domain migrationdata/escrow_domain_contacts.daily.gov.GOV.txt migrationdata/escrow_contacts.daily.gov.GOV.txt migrationdata/escrow_domain_statuses.daily.gov.GOV.txt
|
||||
```
|
||||
|
||||
## OPTION 2: LOCAL
|
||||
## Load migration data onto our local environments
|
||||
|
||||
Transferring this data from these files into our domain tables happens in two steps;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue