podcastquotes / podcastquotes

A podcast highlight sharing, browsing, and voting system inspired by reddit.

Home Page:https://podverse.tv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

podcastquotes

Build Status Coverage Status

A podcast transcription, highlight sharing, and rating system inspired by reddit. Django & Python 2

Development Install

Obtain dependencies

pip install -r requirements.txt

Sometimes this external version of argparse sneaks in, I don't know what it is but if your version of pip is very new then you need to allow external dependencies using --allow-all-external. It's a mess.

Use podcastquotes settings and site_settings skeleton

cp ./podcastquotes/settings.py.skel ./podcastquotes/settings.py cp ./podcastquotes/site_settings.py.skel ./podcastquotes/site_settings.py

Init database

./manage.py syncdb
./manage.py migrate

Seed database with some things for allauth

./manage.py init_configuration

Run App for Development

./manage.py runserver

Database tasks

./manage.py update_rss_feeds - Poll all rss feeds
./manage.py rank_quotes - Recalculate 'hot' score for quotes

CRON Jobs

install_cron.sh /full/path/to/django_project /full/path/to/virtualenv

The provided script idempotently installs required scheduled tasks on to the current user's crontab.

Dev Tricks

Aliases

source set_aliases

  • autotest
    • Automatically watches files in the project and reruns tests when they change (using py.test)
  • manage
    • shortcut for manage.py
  • masks *.pyc files when using ls

Focus on particular test

autotest -k test_name

About

A podcast highlight sharing, browsing, and voting system inspired by reddit.

https://podverse.tv

License:GNU Affero General Public License v3.0


Languages

Language:Python 43.2%Language:JavaScript 35.3%Language:CSS 21.4%Language:Shell 0.2%