-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Q: Changes right or wrong? (What it took to make this example work on a fresh Ubuntu 20 install) #6
Comments
Hey Blake, did you have a Cheers, and thanks for the feedback! |
Hi Todd, I've kind of moved on with what I got working. But looking back at the directory I did not have a .env file. Looking at the values set in the .env file however, it seams like using your start.sh file covers that need. I did use that. Maybe SECRET_KEY could just be set there? Also, I needed other changes that took longer to figure out. For example:
I've kept these changes as I move forward with my local app. I was wondering if they are the right way to go. Thanks for the example and thanks for taking the time to look at this issue! |
Thanks for getting back to me! I'm glad you brought up the lack of a Secret keys and .env files are easily the biggest points of contention and confusion amongst our readers. I wish there was an easier way to get this across in tutorials - hopefully this clears things up a bit! |
This example is a great resource. However I have had some trouble getting it functional on a fresh ubuntu 20 desktop install with python version 3.8.2 and Flask-WTF version 0.14.3.
Included are the changes that made it work. I'd be interested to know if they are needed or if I missed something in following the instructions.
Below find a git diff, information on the python environment, and the commands that made the environment run the Flask server.
The text was updated successfully, but these errors were encountered: