Skip to content
A simple django website with some handy reddit tools.
Python HTML Dockerfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pictures
reddit_django
reddit_scraper
.gitignore
Dockerfile
Pipfile
Pipfile.lock
Procfile
README.md
docker-compose.yml
manage.py
requirements.txt

README.md

django-reddit

Simple django site acting as a frontend for:

  • reddit-scraper: Various scripts for donwloading posts/submissions/comments of a reddit subreddit/post/user.
  • /r/france Forum Libre redirect.

Secrets

To run the website, you will need some config files.

secret.ini

[django]
SECRET_KEY=secret_key_here

praw.ini

[reddit]
client_id=id_here
client_secret=secret_here
password=password_here
username=username_here

.env file

HEROKU_REDIS_ROSE_URL=redis://localhost
# optional, for docker + traefik
DEFAULT_NETWORK=trafik-network
DOMAIN=localhost

Environment variables

If you can't use ini files (i.e. when deploying with heroku), you can use those environment variables:

  • PRAW_CLIENT_ID
  • PRAW_CLIENT_SECRET
  • PRAW_PASSWORD
  • PRAW_USERNAME
  • DJANGO_SECRET_KEY
  • HEROKU_REDIS_ROSE_URL
You can’t perform that action at this time.