Skip to content

iphoting/youtube-dl-api-server-heroku

Repository files navigation

youtube-dl-api-server

A ready-for-Heroku youtube-dl REST API server.

Deploying to Heroku

Deploy

Manually

  1. Ensure you have the Heroku toolbelt installed and set-up.

  2. Clone this repo: git clone https://github.com/iphoting/youtube-dl-api-server-heroku.

  3. Provision a Heroku app: cd youtube-dl-api-server-heroku; heroku create <your-app-name>.

  4. Push to deploy the app: git push -u heroku master.

  5. Check its runtime logs: heroku logs, and status: heroku ps.

  6. Your API server version is now available at: https://<your-app-name>.herokuapp.com/api/version.

Updating Python packages

  1. Setup virtualenvwrapper and activate it. Install pip-tools (>= 1.2) and pipenv: pip install -U pip-tools pipenv.

  2. Update to the latest packages: pip-compile --upgrade --generate-hashes ; pipenv lock.

  3. Commit changes: git commit -m "Updated packages." requirements.txt Pipfile.lock.

  4. Push to deploy changes: git push.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •