2 ms·
See the Heroku Quickstart: https://devcenter.heroku.com/articles/quickstart https://devcenter.heroku.com/articles/quickstart Essentially you sign up for a Hero
by espeed 15y ago
See the Heroku Quickstart: https://devcenter.heroku.com/articles/quickstart https://devcenter.heroku.com/articles/quickstart
Essentially you sign up for a Heroku account (https://api.heroku.com/signup https://api.heroku.com/signup), and set up the Heroku "toolbelt" (https://toolbelt.heroku.com https://toolbelt.heroku.com).
Once that's done, you can run this bash script (https://gist.github.com/2622850 https://gist.github.com/2622850) to create and deploy a "hello world" Flask app on Heroku:
$ heroku login
$ bash setup.sh helloworld
$ cd helloworld
$ git push heroku master
It should return a live Web URL for your app:
http://strong-stream-5848.herokuapp.com deployed to Heroku
See the Heroku Python tutorial (https://devcenter.heroku.com/articles/python https://devcenter.heroku.com/articles/python) for details.
- eli 15y agoCompared to deploying Hello World in PHP, that's a lot of work.
- eevee 15y agoI guess that's true, but you know... so what? Can't we worry more about building something cool than about shaving seconds off the one-time setup cost involved with sharing that cool thing with the world?
- jlgreco 15y agoAnd compared to putting down the window in my car, turning on the AC is a lot of work. Two buttons and a dial compared to just one button. One is clearly superior to the other though and anyone going near a car should have zero difficulty with either...