librelist archives

« back to archive

[flask] Who to deploy flask on google app engine with py2.7

[flask] Who to deploy flask on google app engine with py2.7

From:
klinkin
Date:
2012-01-23 @ 22:48
Hi, guru.  

I tried to deploy flask app on gae with py2.7, but i faced with the 
problem that i could not resolve.
I have look throught many examples deploy flask app on gae with py2.5, but
i have not found with py 2.7. Any idea?


--  
klinkin
Отправлено с помощью Sparrow (http://www.sparrowmailapp.com/?sig)

Re: [flask] Who to deploy flask on google app engine with py2.7

From:
Simon Sapin
Date:
2012-01-24 @ 09:37
Le 23/01/2012 23:48, klinkin a écrit :
> I tried to deploy flask app on gae with py2.7, but i faced with the
> problem that i could not resolve.

Hi,

I have not used GAE, but what specific problems did you encounter? Maybe 
we can help with these.

Regards,
-- 
Simon Sapin

Re: [flask] Who to deploy flask on google app engine with py2.7

From:
Gianni
Date:
2012-01-24 @ 13:15
Flask need werkzeug and jinja2 for work.
gae have jinja2 in the libraries (just add two lines in yaml file) while
flask and werkzeug isn't in gae libraries. you need add those libraries in
your app: just a brutal copy and paste from repos.
-- Gianni

Re: [flask] Who to deploy flask on google app engine with py2.7

From:
Sean Lynch
Date:
2012-01-24 @ 14:06
Btw, this is a good writeup explaining the changes going from python(2.5)
to python27 on GAE.

http://blog.notdot.net/2011/10/Migrating-to-Python-2-7-part-1-Threadsafe

On Tue, Jan 24, 2012 at 8:15 AM, Gianni <giannidn@gmail.com> wrote:

> Flask need werkzeug and jinja2 for work.
> gae have jinja2 in the libraries (just add two lines in yaml file) while
> flask and werkzeug isn't in gae libraries. you need add those libraries in
> your app: just a brutal copy and paste from repos.
> -- Gianni
>
>

Re: [flask] Who to deploy flask on google app engine with py2.7

From:
Gianni
Date:
2012-01-24 @ 00:34
hi,
see this http://bit.dinoia.eu/flask-gae-login-skeleton/src
remember flask and werkzeug folders.

-- Gianni

Re: [flask] Who to deploy flask on google app engine with py2.7

From:
Jay Baker
Date:
2012-04-21 @ 18:55
Following up on this late ... Gianni's link seems dead.

Does anyone have some good instructions on setting up flask on gae python27
runtime?

Thanks.

On Mon, Jan 23, 2012 at 6:34 PM, Gianni <giannidn@gmail.com> wrote:

> hi,
> see this http://bit.dinoia.eu/flask-gae-login-skeleton/src
> remember flask and werkzeug folders.
>
> -- Gianni
>
>

Re: [flask] Who to deploy flask on google app engine with py2.7

From:
Gianni
Date:
2012-04-21 @ 19:08
the docs have a link to a better boilerplate
http://flask.pocoo.org/docs/quickstart/#deploying-to-a-web-server
-- Gianni



2012/4/21 Jay Baker <jbaker.work@gmail.com>

> Following up on this late ... Gianni's link seems dead.
>
> Does anyone have some good instructions on setting up flask on gae
> python27 runtime?
>
> Thanks.
>
>
> On Mon, Jan 23, 2012 at 6:34 PM, Gianni <giannidn@gmail.com> wrote:
>
>> hi,
>> see this http://bit.dinoia.eu/flask-gae-login-skeleton/src
>> remember flask and werkzeug folders.
>>
>> -- Gianni
>>
>>
>

Re: [flask] Who to deploy flask on google app engine with py2.7

From:
Jay Baker
Date:
2012-04-22 @ 00:36
Hmm ... you are referring to the "Deploying Flask on App Engine" github
setup? That one does not have anything to do with the pyhton27 runtime.

However, I tried exposing app.wsgi_app to the App Engine environment and
that seems like it is working. I'm not sure it is correct though.

On Sat, Apr 21, 2012 at 2:08 PM, Gianni <giannidn@gmail.com> wrote:

> the docs have a link to a better boilerplate
> http://flask.pocoo.org/docs/quickstart/#deploying-to-a-web-server
> -- Gianni
>
>
>
> 2012/4/21 Jay Baker <jbaker.work@gmail.com>
>
>> Following up on this late ... Gianni's link seems dead.
>>
>> Does anyone have some good instructions on setting up flask on gae
>> python27 runtime?
>>
>> Thanks.
>>
>>
>> On Mon, Jan 23, 2012 at 6:34 PM, Gianni <giannidn@gmail.com> wrote:
>>
>>> hi,
>>> see this http://bit.dinoia.eu/flask-gae-login-skeleton/src
>>> remember flask and werkzeug folders.
>>>
>>> -- Gianni
>>>
>>>
>>
>

Re: [flask] Who to deploy flask on google app engine with py2.7

From:
Gianni
Date:
2012-04-22 @ 06:54
btw the link now work again
-- Gianni

Re: [flask] Who to deploy flask on google app engine with py2.7

From:
klinkin
Date:
2012-01-24 @ 07:33
Thanks, Gianni.  
But i don't understand what you're mean "remember flask and werkzeug folders".


--  
klinkin
Отправлено с помощью Sparrow (http://www.sparrowmailapp.com/?sig)


вторник, 24 января 2012 г. в 3:34, Gianni написал:

> hi,  
> see this http://bit.dinoia.eu/flask-gae-login-skeleton/src  
> remember flask and werkzeug folders.
>  
> -- Gianni