Commit d8ceca2c authored by Marco Montabone 's avatar Marco Montabone

merge branch 'derivate' of code.ubuntu-it.org:ubuntu-it-web/www into derivate

parents 7222358e c8e3571e
{
"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