BlitzKraft / saythanks.io

Spreading Thankfulness in Open Source.
https://saythanks.io
1.26k stars 153 forks source link

Flask uses load_dotenv by default so we only need to specify .env file to source env variables at runtime. #240

Closed tushar5526 closed 1 year ago

tushar5526 commented 1 year ago

Fixed #238

Check (put an 'x' between the square brackets) everything which applies:

@Pavithratrdev @kgashok , please let me know about this update.

kgashok commented 1 year ago

@Pavithratrdev can you ask Dinesh check whether deployment works properly with an appropriate .env setup?

Pavithratrdev commented 1 year ago

@Pavithratrdev can you ask Dinesh check whether deployment works properly with an appropriate .env setup?

Sure Sir

tushar5526 commented 1 year ago

@kgashok @Pavithratrdev Please merge this #244

python-dotenv needs to be installed from flask to source env variables automatically as mentioned here as well https://stackoverflow.com/a/62411806/12409303