Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
website
Commits
32a3bc62
Commit
32a3bc62
authored
Aug 07, 2016
by
Julian Rother
Browse files
Add flask boilerplate server.py
parent
81324cb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.py
0 → 100755
View file @
32a3bc62
#!/bin/python
from
flask
import
Flask
,
render_template
app
=
Flask
(
__name__
)
@
app
.
route
(
'/'
)
def
index
():
return
render_template
(
'index.html'
,
site_title
=
"Video AG"
)
if
__name__
==
'__main__'
:
app
.
debug
=
True
app
.
run
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment