A Django web application for converting YouTube videos to MP3 audio.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

YouTube Audio Downloader

A Django web application for extracting the audio from a YouTube video and converts it to MP3 that a user can download.

Technology Stack

  • Python 3.6
  • Django 1.11
  • Twitter Bootstrap 3
  • PostgreSQL
  • Nginx
  • Gunicorn
  • Celery
  • RabbitMQ
  • Supervisor
  • Virtualenv

Getting Started with Docker and Docker Compose for Local Development

Install Docker

https://docs.docker.com/installation/

Note for Boot2Docker users: In docker-compose.yml you may need to remove the ~ in ~/dockerfiles. Boot2docker automatically mounts the user directory to the Boot2Docker VM and you may run into permission issues.

Install Docker Compose

http://docs.docker.com/compose/install/

Install the Python packages required by the project via pip

In the project root (where the docker-compose.yml file is located), run:

docker-compose run django python3.6 -m pip install -r requirements.txt

To run any command inside the Django Docker container, simply prepend docker-compose run django.

Start the Docker containers

docker-compose up -d

This will start the containers in the background.

Run the Django database migrations

docker-compose run django python3.6 manage.py migrate

View the logs

docker-compose logs