-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.py
26 lines (19 loc) · 1.08 KB
/
run.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2018 (C) A. Brabant A. Delasalle L. Leduc M. Philippot
# This file is part of P&P Deep-Vis.
# P&P Deep-Vis is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
# P&P Deep-Vis is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
# You should have received a copy of the GNU Lesser General Public License along
# with P&P Deep-Vis; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
### File that is invoked to start up a development server. Gets a copy of the
### app from the package and runs it. Won't be used in production.
from app import app
# run a test server
if __name__ == '__main__':
app.run(host='0.0.0.0', port=8080)