code review feedback

This commit is contained in:
Kenneth Kehl
2024-05-08 09:10:41 -07:00
parent 87a0204fe2
commit b79835dfd2

View File

@@ -358,15 +358,17 @@ will not be a user in the database to link to the login.gov account you are usin
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
respective terminals. 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.
respective terminals.
(Server 1)
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 --name="<Your Name>" --email="<email address>" --mobile_number="<your phone>" --password="<password>" --admin=True;
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
is the same one you are using in login.gov and make sure your phone number is in the format 5555555555.
If for any reason in the course of development it is necessary for your to delete your db
via the `dropdb` command, you will need to repeat these steps when you recreate your db.