From e3156ceb3ca4714c67eac3748e2ce8d9608620f9 Mon Sep 17 00:00:00 2001 From: Ronald Ip Date: Sat, 28 Feb 2015 22:41:45 +0800 Subject: [PATCH] Added instructions for deploying to Heroku. --- docs/install.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/install.rst b/docs/install.rst index 41f04716..e3ab438e 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -24,3 +24,10 @@ You can setup an app in the `Google App Engine `_ by adding ``gunicorn`` to ``requirements.txt`` +and creating a ``Procfile`` with ``web: gunicorn --pythonpath youtube_dl_server app:app -w 4 --log-file -``. + +Commit, push to Heroku and you can make your API calls to :samp:`https://{app-name}.herokuapp.com/`.