Skip to content

Instantly share code, notes, and snippets.

Avatar

Matthew Johnson copperlight

View GitHub Profile
@copperlight
copperlight / bottle_and_gunicorn.py
Last active Jun 8, 2016 — forked from ourway/bottle_and_gunicorn.py
Running a bottle app with gunicorn
View bottle_and_gunicorn.py
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)
You can’t perform that action at this time.