Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Running a bottle app with gunicorn
from bottle import Bottle
app = Bottle()
@app.route('/')
def index():
'''test me'''
return '<h1>Hello Bottle!</h1>'
app.run(host='localhost', port=8080, server='gunicorn', reload=True, workers=4, debug=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.