alan-turing-institute / DTBase

A starting point from which digital twins can be developed.
MIT License
11 stars 4 forks source link

Remove dead code #160

Closed mhauru closed 10 months ago

mhauru commented 11 months ago

This stuff wasn't doing anything. The FLASK_ENV thing used to set flask to run in debug mode. The new equivalent would be FLASK_DEBUG=true, but I think that's a bad idea, because it's what's getting run in the production docker containers. Locally though, I personally like using FLASK_DEBUG=true, it makes it such that when you edit the code Flask automatically reloads with the latest changes.