mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +02:00
Add more logging detail
This commit is contained in:
parent
fbabd2029c
commit
27f2157765
2 changed files with 25 additions and 14 deletions
|
@ -885,20 +885,21 @@ Example: `cf ssh getgov-za`
|
|||
[Follow these steps](#use-scp-to-transfer-data-to-sandboxes) to upload the federal_cio csv to a sandbox of your choice.
|
||||
|
||||
#### Step 5: Running the script
|
||||
```./manage.py create_federal_portfolio "{federal_agency_name}" --parse_requests --parse_domains```
|
||||
```./manage.py create_federal_portfolio "{federal_agency_name}" --both```
|
||||
|
||||
Example: `./manage.py create_federal_portfolio "AMTRAK" --parse_requests --parse_domains`
|
||||
|
||||
### Running locally
|
||||
|
||||
#### Step 1: Running the script
|
||||
```docker-compose exec app ./manage.py create_federal_portfolio "{federal_agency_name}" --parse_requests --parse_domains```
|
||||
```docker-compose exec app ./manage.py create_federal_portfolio "{federal_agency_name}" --both```
|
||||
|
||||
##### Parameters
|
||||
| | Parameter | Description |
|
||||
|:-:|:-------------------------- |:-------------------------------------------------------------------------------------------|
|
||||
| 1 | **federal_agency_name** | Name of the FederalAgency record surrounded by quotes. For instance,"AMTRAK". |
|
||||
| 2 | **parse_requests** | Optional. If True, then the created portfolio is added to all related DomainRequests. |
|
||||
| 3 | **parse_domains** | Optional. If True, then the created portfolio is added to all related Domains. |
|
||||
| 2 | **both** | Optional. If True, runs parse_requests and parse_domains |
|
||||
| 3 | **parse_requests** | Optional. If True, then the created portfolio is added to all related DomainRequests. |
|
||||
| 4 | **parse_domains** | Optional. If True, then the created portfolio is added to all related Domains. |
|
||||
|
||||
Note: While you can specify both at the same time, you must specify either --parse_requests or --parse_domains. You cannot run the script without defining one or the other.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue