gitfiti
This commit is contained in:
15
gitfiti_web.py
Normal file
15
gitfiti_web.py
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/env python
|
||||
#gitfiti_web
|
||||
from bottle import request, route, run, post, template
|
||||
|
||||
@route("/")
|
||||
def index():
|
||||
return template('index')
|
||||
|
||||
@route()
|
||||
|
||||
def main():
|
||||
run(host='localhost', port=8080, debug=True, reloader=True)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Reference in New Issue
Block a user