Closed IvanIsak2000 closed 1 year ago
- win10
- python 3.11.3
Is this error just me?
you should launch it with
python3 src/app.py <some random symbols>
these random symbols needed to handle cookies correctly, in case we'll be using them (just a good practice, otherwise flask uses it's default password - that's bad)
Wow, this is really a new way to run a server!
Previously, I wrote like this, and the program could be launched by running app.py
Wow, this is really a new way to run a server!
Previously, I wrote like this, and the program could be launched by running
app.py
@IvanIsak2000
well, we're doing the same things. we just pass a command line parameter after src/app.py
. it's possible to set it statically in code (although we mustn't pass it into VCS, as it's dangerous), get it as an environment variable or out of configuration file
Is this error just me?