How is the path to app? for example path to gunicorn?

32 views
Skip to first unread message

Julio Brito

unread,
Jul 16, 2018, 10:41:49 AM7/16/18
to Google App Engine
Hi,
I need the command but i can't find gunicorn

[program:gunicorn]
command= gunicorn --timeout 1500 -b %(ENV_PORT)s myproject.wsgi

Olu

unread,
Jul 16, 2018, 3:44:33 PM7/16/18
to Google App Engine
I understand you need the path to your App Engine Application, is that right? This Stackoverflow link describes how to get application root path in GAE by putting a module in the root of your app. This module would store the result of os.path.dirname(__file__), then import that where needed.
Reply all
Reply to author
Forward
0 new messages