apt-get source python-bottle cd python-bottle-* cd test/ python testall.py python3 testall.py [NOTE] The following error is intermittent: ====================================================================== ERROR: test_simple (test_server.TestServer) Test a simple static page with this server adapter. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/msalvatore/python-bottle-0.12.0/test/test_server.py", line 77, in tearDown raise AssertionError(line.strip().decode('utf8')) AssertionError: AttributeError: 'NoneType' object has no attribute 'split' ---------------------------------------------------------------------- Ran 303 tests in 3.927s ################################################################################ The following script can be used to do a basic function test. Simply access http://HOSTNAME:8080/hello and http://HOSTNAME:8080/hello/YOUR_NAME_HERE from bottle import route, run, template @route('/hello') def hello(): return "Hello World!" @route('/hello/') def greet(name='Stranger'): return template('Hello {{name}}, how are you?', name=name) run(host='0.0.0.0', port=8080, debug=True)