mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Updated documentation.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
This commit is contained in:
10
README.md
10
README.md
@@ -372,15 +372,9 @@ After you have completed all setup steps, you will be unable to log in, because
|
|||||||
will not be a user in the database to link to the login.gov account you are using. So
|
will not be a user in the database to link to the login.gov account you are using. So
|
||||||
you will need to create that user in your database using the 'create-test-user' command.
|
you will need to create that user in your database using the 'create-test-user' command.
|
||||||
|
|
||||||
Open two terminals pointing to the api project and then run these commands in the
|
Open a terminal pointing to the api project and then run this command.
|
||||||
respective terminals.
|
|
||||||
|
|
||||||
(Server 1)
|
```poetry run flask command create-test-user --admin=True```
|
||||||
env ALLOW_EXPIRED_API_TOKEN=1 make run-flask
|
|
||||||
|
|
||||||
(Server 2)
|
|
||||||
poetry run flask command create-admin-jwt | tail -n 1 | pbcopy
|
|
||||||
poetry run flask command create-test-user --admin=True;
|
|
||||||
|
|
||||||
Supply your name, email address, mobile number, and password when prompted. Make sure the email address
|
Supply your name, email address, mobile number, and password when prompted. Make sure the email address
|
||||||
is the same one you are using in login.gov and make sure your phone number is in the format 5555555555.
|
is the same one you are using in login.gov and make sure your phone number is in the format 5555555555.
|
||||||
|
|||||||
Reference in New Issue
Block a user