-
Notifications
You must be signed in to change notification settings - Fork 17
Code Exchange upgrade #4
Conversation
24b8775 to
74e02d8
Compare
74e02d8 to
3abd1b2
Compare
README.md
Outdated
| set FLASK_ENV=development | ||
| ``` | ||
| flask init-db | ||
| flask run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
im getting twilio.base.exceptions.TwilioRestException when running the app and registering a new user
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't get any. Did you get any specific message? Was the VERIFICATION_SID env variable correct? (I also included in the documentation now).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@po5i turns out I had to manually source .env the env file. isn't that supposed to happen automatically? could we use a Makefile to contain that call along with the call that starts the service?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I'll check out this. It's supposed for the env vars to be loaded automatically because we're using dotenv here. But maybe the location for this line is not appropriate. I'll test a clean clone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed. I did a clean clone in a clean zsh session, followed the steps and it worked as expected (user registration and phone verification successful).
…d/verify-v2-quickstart-python into code-exchange-upgrade
Resolves #3