mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 07:12:20 -05:00
Merge branch 'main' of https://github.com/GSA/notifications-api into 673-data-dictionary
This commit is contained in:
13
docs/all.md
13
docs/all.md
@@ -477,7 +477,18 @@ Appending `--help` to any command will give you more information about parameter
|
||||
|
||||
To run a command on cloud.gov, use this format:
|
||||
|
||||
`cf run-task CLOUD-GOV-APP --commmand "YOUR COMMAND HERE" --name YOUR-COMMAND`
|
||||
`cf run-task CLOUD-GOV-APP --commmand "YOUR COMMAND HERE" --name YOUR-COMMAND-NAME`
|
||||
|
||||
**NOTE:** Do not include `poetry run` in the command you provide for `cf run-task`! cloud.gov is already aware
|
||||
of the Python virtual environment and Python dependencies; it's all handled through the Python brokerpak we use
|
||||
to deploy the application.
|
||||
|
||||
For example, if you want to update the templates in one of the remote environments after a change to the JSON
|
||||
file, you would run this:
|
||||
|
||||
```sh
|
||||
cf run-task CLOUD-GOV-APP --command "flask command update-templates" --name YOUR-COMMAND-NAME
|
||||
```
|
||||
|
||||
[Here's more documentation](https://docs.cloudfoundry.org/devguide/using-tasks.html) about Cloud Foundry tasks.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user