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 route, run
@route('/')
def index():
'''test me'''
return '<h1>Hello Bottle!</h1>'
run(host='localhost', port=8080, server='gunicorn',
reload=True, workers=4, debug=True)
virtualenv pyenv
source pyenv/bin/activate
pip install gunicorn bottle
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.