Skip to content

This Django Application lets you customize youtube based on channels

Notifications You must be signed in to change notification settings

ravivalluri/customYT

Repository files navigation

CustomYT

This Django application lets you customize the Youtube.

A running example is available here: https://ut.dhedegaard.dk/

How to get it running in development

  1. Make sure you have Python 3.6+ installed.
  2. Make a new virtual environment (optional):
    $ virtualenv venv && source venv/bin/activate
  3. Install the dependencies from requirements.txt and requirements-dev.txt by:
    $ pip install -r requirements.txt -r requirements-dev.txt
  4. Go into settings.py and set the YOUTUBE_API_KEY to something valid.
  5. Run migrations:
    $ python manage.py migrate
  6. Create a user:
    $ python manage.py createsuperuser
  7. Run the devserver:
    $ python manage.py runserver
  8. Go to http://127.0.0.1:8000/
  9. Login and start adding youtube channels.
  10. Run the update_channels job periodically, to fetch new youtube videos:
    $ python manage.py update_channels

For production

The usual:

  • Disable DEBUG in settings.
  • Run using gunicorn, uWSGI or similar.
  • Replace the default sqlite database with postgres or similar.
  • Add the update_channels job to your crontab.

About

This Django Application lets you customize youtube based on channels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published