Skip to content

Instantly share code, notes, and snippets.

View copperlight's full-sized avatar

Matthew Johnson copperlight

View GitHub Profile
@copperlight
copperlight / bottle_and_gunicorn.py
Last active June 8, 2016 01:12 — forked from ourway/bottle_and_gunicorn.py
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)