Skip to content

Commit

Permalink
Added instructions for deploying to Heroku.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphoting authored and jaimeMF committed Mar 1, 2015
1 parent 6e091a2 commit e3156ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,10 @@ You can setup an app in the `Google App Engine <https://developers.google.com/ap
by changing the ``application`` key in app.yaml to your application name.
For using it you just need to do the API calls to :samp:`http://{your-app-name}.appspot.com`.
It needs some external python modules in :samp:`lib`, you can download them by running :command:`./devscripts/setup-gae.sh`

Heroku
******
You can also run the server on `Heroku <https://heroku.com>`_ 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/`.

0 comments on commit e3156ce

Please sign in to comment.