mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
Standardized command names and updated
documentation
This commit is contained in:
12
docs/all.md
12
docs/all.md
@@ -495,6 +495,18 @@ cf run-task CLOUD-GOV-APP --command "flask command update-templates" --name YOUR
|
||||
|
||||
[Here's more documentation](https://docs.cloudfoundry.org/devguide/using-tasks.html) about Cloud Foundry tasks.
|
||||
|
||||
# Commands for test loading the local dev database
|
||||
|
||||
All commands use the `-g` or `--generate` to determine how many instances to load to the db. The `-g` or `--generate` option is required and will always defult to 1. An example: `flask command add-test-uses-to-db -g 6` will generate 6 random users and insert them into the db.
|
||||
|
||||
## Test commands list
|
||||
- `add-test-organizations-to-db`
|
||||
- `add-test-services-to-db`
|
||||
- `add-test-jobs-to-db`
|
||||
- `add-test-notifications-to-db`
|
||||
- `add-test-users-to-db` (extra options include `-s` or `--state` and `-d` or `--admin`)
|
||||
|
||||
|
||||
# How messages are queued and sent
|
||||
|
||||
There are several ways for notifications to come into the API.
|
||||
|
||||
Reference in New Issue
Block a user