Blame view

webapp/backend.py 187 Bytes
4039e577   Lars Tiede   first commit
1
2
3
4
5
6
7
8
9
  import socket
  from bottle import get, run
  
  @get('/')
  def main_page() :
      return "Hello from %s\n" % socket.gethostname()
  
  if __name__ == "__main__" :
      run(host='0.0.0.0', port=8000)