diff --git a/README.md b/README.md index da72876..694a918 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,8 @@ Every sample in the demo requires some basic credentials from your Twilio accoun When you generate an API key pair at the URLs above, your API Secret will only be shown once - make sure to save this information in a secure location, or possibly your `~/.bash_profile`. +Note also that in this starter kit, variables set in `.env` will override those in your `.bash_profile` and/or `.bashrc`. + ### Configure product-specific settings Depending on which demos you'd like to run, you may need to configure a few more values in your `.env` file. diff --git a/app.py b/app.py index ac27e42..e32c4fb 100644 --- a/app.py +++ b/app.py @@ -22,7 +22,7 @@ def snake_case_keys(somedict): app = Flask(__name__) fake = Faker() dotenv_path = join(dirname(__file__), '.env') -load_dotenv(dotenv_path) +load_dotenv(dotenv_path, override=True) @app.route('/') def index():