mirror of
https://github.com/sigmasternchen/Diary
synced 2025-03-15 15:18:57 +00:00
Added Base HTTP Server (listening on port 1338)
This commit is contained in:
parent
e94538e13b
commit
60b5d38b05
1 changed files with 11 additions and 0 deletions
11
server
Executable file
11
server
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env python2.7
|
||||||
|
|
||||||
|
import os
|
||||||
|
from flask import Flask
|
||||||
|
|
||||||
|
app=Flask(__name__)
|
||||||
|
|
||||||
|
if __name__=='__main__':
|
||||||
|
app.debug=True
|
||||||
|
app.secret_key=os.urandom(64)
|
||||||
|
app.run(host='127.0.0.1',port=1338)
|
Loading…
Reference in a new issue