Commit 28cdbe00 authored by Pietro Albini's avatar Pietro Albini

Merge branch 'master' into scopriUbuntu

parents cd220625 a9ec7fd5
Pipeline #37 running with stage
in 0 seconds
{
"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): ...@@ -35,7 +35,7 @@ def create_app(data_path):
@app.errorhandler(404) @app.errorhandler(404)
def not_found(error): def not_found(error):
return flask.render_template("404.html") return flask.render_template("404.html"), 404
return app 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