Mercurial > farol
diff run_web @ 1:63b00c10ada8
Add Configuration support, warning when in DEBUG mode, and Deployment instruction
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Wed, 24 Sep 2014 15:04:19 +0200 |
parents | 4a9f23230eba |
children |
line wrap: on
line diff
--- a/run_web Wed Sep 24 10:07:49 2014 +0200 +++ b/run_web Wed Sep 24 15:04:19 2014 +0200 @@ -21,12 +21,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -import os - from farol.main import app -app.secret_key = os.urandom(24) -app.config['CACHE_DIRECTORY'] = os.path.join(os.path.dirname(__file__), '_cache') - if __name__ == "__main__": app.run(host="0.0.0.0", debug=True)