Parent: [1f91a5] (diff)

Child: [a6318f] (diff)

Download this file

webui-standalone.py    11 lines (9 with data), 314 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/usr/bin/env python
import os
# change to webui's directory and import
os.chdir(os.path.dirname(__file__))
import webui
# set up webui and run in own http server
webui.bottle.debug(True)
webui.bottle.run(host='localhost', port=8080, reloader=False)
# vim: foldmethod=marker:filetype=python:textwidth=80:ts=4:et