KeyError: 'DATABASE_URL' (Solved by setting environment variable)

PHOTO EMBED

Sun Aug 29 2021 18:31:23 GMT+0000 (UTC)

Saved by @RyanJ

# Enter in Command Prompt to set an enviroment variable:

set [<variable>=[<string>]]
     
# <variable> is the name of the enviroment variable; in this case, it's DATABASE_URL
# [<string>] is the value of the variable; in this case, it's the URL of the Postgres database
content_copyCOPY