Commit fcd44be2 authored by Pietro Albini's avatar Pietro Albini

Merge branch 'master' into struttura

parents 9bba914c a9ec7fd5
{
"build": [
["invoke", "build"]
],
"before_install": [
["mkdir", "{{base}}/data"],
["virtualenv", "-p", "python3", "{{base}}/env"]
],
"install": [
{
"artifacts": "build/packages/*.whl",
"command": ["{{base}}/env/bin/pip", "install", "{{artifact}}"]
}
],
"run": [
"{{base}}/env/bin/uitwww", "run", "-g", "{{gunicorn_config_file}}",
"{{base}}/data"
]
}
......@@ -35,7 +35,7 @@ def create_app(data_path):
@app.errorhandler(404)
def not_found(error):
return flask.render_template("404.html")
return flask.render_template("404.html"), 404
return app
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment