mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-29 07:43:32 +02:00
Add more specificity in the readme
This commit is contained in:
parent
639202b72c
commit
cfe177612a
1 changed files with 6 additions and 2 deletions
|
@ -114,14 +114,18 @@ Add a JSON file called "migrationFilepaths.json" with the following contents (up
|
||||||
This JSON file can exist anywhere, but to keep things simple, add it to the same folder as used in step 1. `src/migrationdata`.
|
This JSON file can exist anywhere, but to keep things simple, add it to the same folder as used in step 1. `src/migrationdata`.
|
||||||
Directory specifies the directory that the given `filenames` exist in. For instance, a `contacts_filename` of `test.txt` with a `directory` of `migrationdata` would need to exist under `migrationdata/test.txt`.
|
Directory specifies the directory that the given `filenames` exist in. For instance, a `contacts_filename` of `test.txt` with a `directory` of `migrationdata` would need to exist under `migrationdata/test.txt`.
|
||||||
|
|
||||||
|
Later on, we will bundle this file along with the others into its own folder. Keep it within the `migrationdata/` directory if you are passing data to your sandbox, for simplicity.
|
||||||
|
|
||||||
We need to run a few scripts to parse these files into our domain tables.
|
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.
|
We can do this both locally and in a sandbox.
|
||||||
|
|
||||||
#### STEP 3: Bundle all relevant data files into one file
|
#### STEP 3: Bundle all relevant data files into an archive
|
||||||
Move all the files specified in Step 1 into a shared folder, and create a tar.gz
|
Move all the files specified in Step 1 into a shared folder, and create a tar.gz.
|
||||||
|
|
||||||
Create a folder on your desktop called `datafiles` and move all of the obtained files into that. Add these files to a tar.gz archive using any method. See (here)[https://stackoverflow.com/questions/53283240/how-to-create-tar-file-with-7zip].
|
Create a folder on your desktop called `datafiles` and move all of the obtained files into that. Add these files to a tar.gz archive using any method. See (here)[https://stackoverflow.com/questions/53283240/how-to-create-tar-file-with-7zip].
|
||||||
|
|
||||||
|
After this is created, move this archive into `src/migrationdata`.
|
||||||
|
|
||||||
|
|
||||||
### SECTION 1 - SANDBOX MIGRATION SETUP
|
### SECTION 1 - SANDBOX MIGRATION SETUP
|
||||||
Load migration data onto a production or sandbox environment
|
Load migration data onto a production or sandbox environment
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue