-
-
Save copperlight/57e2e562f1526d225abb12e59e79af94 to your computer and use it in GitHub Desktop.
Revisions
-
copperlight revised this gist
Jun 8, 2016 . 2 changed files with 5 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,10 @@ 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) This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +0,0 @@ -
ourway revised this gist
Feb 18, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,9 @@ @route('/') def index(): '''test me''' return '<h1>Hello Bottle!</h1>' run(host='localhost', port=8080, server='gunicorn', reload=True, workers=4, debug=True) -
ourway created this gist
Feb 18, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ from bottle import route, run @route('/') def index(): return '<h1>Hello Bottle!</h1>' run(host='localhost', port=8080, server='gunicorn', workers=4) This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ virtualenv pyenv source pyenv/bin/activate pip install gunicorn bottle