librelist archives

« back to archive

Python officially support on Heroku

Python officially support on Heroku

From:
Craig
Date:
2011-09-29 @ 15:43
I'm very excited to say that Python is now an officially supported 
deployment option on Heroku: 
http://blog.heroku.com/archives/2011/9/28/python_and_django/

A big thanks to everyone in the Flask community that helped us make 
this a reality - especially Armin Ronacher, David Cramer, and Christopher Grebs. 

I hope this announcement proves exciting for the Flask community and 
enables a new wave of Flask application deployments!

Re: [flask] Python officially support on Heroku

From:
Simon Sapin
Date:
2011-09-29 @ 17:58
Le 29/09/2011 17:43, Craig a écrit :
> I'm very excited to say that Python is now an officially supported
> deployment option on Heroku:
> http://blog.heroku.com/archives/2011/9/28/python_and_django/
>
> A big thanks to everyone in the Flask community that helped us make
> this a reality - especially Armin Ronacher, David Cramer, and
> Christopher Grebs.
>
> I hope this announcement proves exciting for the Flask community and
> enables a new wave of Flask application deployments!

Hi,

Great news!

The example code in the blog post uses the Werkzeug development server, 
but I guess that Heroku just executes a Python script, and the user is 
responsible for installing a Python HTTP server. So the app should speak 
HTTP and not just WSGI. Is that correct?

Regards,
-- 
Simon Sapin

Re: [flask] Python officially support on Heroku

From:
Craig
Date:
2011-09-29 @ 18:01
 WSGI works fine as well, as long as it can be installed via pip you're 
quite safe to run any server you wish. Within the deeper setup for django 
we show an example of running with gunicorn. The only condition for a 
server is that it binds to the environment variable PORT.  



On Thursday, September 29, 2011 at 10:58 AM, Simon Sapin wrote:

> Le 29/09/2011 17:43, Craig a écrit :
> > I'm very excited to say that Python is now an officially supported
> > deployment option on Heroku:
> > http://blog.heroku.com/archives/2011/9/28/python_and_django/
> >  
> > A big thanks to everyone in the Flask community that helped us make
> > this a reality - especially Armin Ronacher, David Cramer, and
> > Christopher Grebs.
> >  
> > I hope this announcement proves exciting for the Flask community and
> > enables a new wave of Flask application deployments!
>  
> Hi,
>  
> Great news!
>  
> The example code in the blog post uses the Werkzeug development server,  
> but I guess that Heroku just executes a Python script, and the user is  
> responsible for installing a Python HTTP server. So the app should speak  
> HTTP and not just WSGI. Is that correct?
>  
> Regards,
> --  
> Simon Sapin

Re: [flask] Python officially support on Heroku

From:
Simon Sapin
Date:
2011-09-29 @ 18:09
Le 29/09/2011 20:01, Craig a écrit :
> WSGI works fine as well, as long as it can be installed via pip you're
> quite safe to run any server you wish. Within the deeper setup for
> django we show an example of running with gunicorn. The only condition
> for a server is that it binds to the environment variable PORT.

I see, thanks.

-- 
Simon Sapin

Re: [flask] Python officially support on Heroku

From:
Roberto De Ioris
Date:
2011-09-30 @ 06:42
Il giorno 29/set/2011, alle ore 20:09, Simon Sapin ha scritto:

> Le 29/09/2011 20:01, Craig a écrit :
>> WSGI works fine as well, as long as it can be installed via pip you're
>> quite safe to run any server you wish. Within the deeper setup for
>> django we show an example of running with gunicorn. The only condition
>> for a server is that it binds to the environment variable PORT.
> 
> I see, thanks.
> 
> -- 
> Simon Sapin


We are about to commit a uwsgi-heroku extension, this will allows users to
host multiple apps
in the same heroku instance. It should support (hoping it does not violate
some heroku policy) even
emperor and fastrouter for perfect isolation (and obviously virtual hosting).

If some user want to test it before official release, please contact me privately.

--
Roberto De Ioris
http://unbit.it
JID: roberto@jabber.unbit.it

Re: [flask] Python officially support on Heroku

From:
Ben Hughes
Date:
2011-09-30 @ 10:39
Phenomenal work all - big high five to Armin.

On Friday, September 30, 2011, Roberto De Ioris wrote:

>
> Il giorno 29/set/2011, alle ore 20:09, Simon Sapin ha scritto:
>
> > Le 29/09/2011 20:01, Craig a écrit :
> >> WSGI works fine as well, as long as it can be installed via pip you're
> >> quite safe to run any server you wish. Within the deeper setup for
> >> django we show an example of running with gunicorn. The only condition
> >> for a server is that it binds to the environment variable PORT.
> >
> > I see, thanks.
> >
> > --
> > Simon Sapin
>
>
> We are about to commit a uwsgi-heroku extension, this will allows users to
> host multiple apps
> in the same heroku instance. It should support (hoping it does not violate
> some heroku policy) even
> emperor and fastrouter for perfect isolation (and obviously virtual
> hosting).
>
> If some user want to test it before official release, please contact me
> privately.
>
> --
> Roberto De Ioris
> http://unbit.it
> JID: roberto@jabber.unbit.it <javascript:;>
>
>

-- 
Ben Hughes
Change & Innovation Lead
Bright Approach Ltd.
Tel: +447427600266
Twitter: @bwghughes
http://about.me/bwghughes

Re: [flask] Python officially support on Heroku

From:
Kenneth Reitz
Date:
2011-09-29 @ 15:44
 \o/ 

http://httpbin.org (powered by Flask) is now happily powered by Heroku. 
Couldn't be happier :) 

-- 
Kenneth Reitz


On Thursday, September 29, 2011 at 11:43 AM, Craig wrote:

> I'm very excited to say that Python is now an officially supported 
> deployment option on Heroku: 
> http://blog.heroku.com/archives/2011/9/28/python_and_django/
> 
> A big thanks to everyone in the Flask community that helped us make 
> this a reality - especially Armin Ronacher, David Cramer, and 
Christopher Grebs. 
> 
> I hope this announcement proves exciting for the Flask community and 
> enables a new wave of Flask application deployments!
> 
>