Skip to content

pawl/heckingoodboys

 
 

Repository files navigation

heckingoodboys

Dog slideshow

Requirements

You must get a reddit api client id and secret key. Instructions: https://praw.readthedocs.io/en/latest/getting_started/authentication.html

Installing

$ python3 -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt

Running locally

REDDIT_CLIENT_ID=<id> REDDIT_CLIENT_SECRET=<secret> FLASK_DEBUG=TRUE FLASK_APP=heckingoodboys flask run

Running tests

python setup.py test

Deploying (serverless)

    $ npm install -g serverless
    $ npm install
    $ sls deploy

Deploying (docker-compose)

Install docker and run:

  1. cp .env.acme-companion.example .env.acme-companion
  2. In the new .env.acme-companion file, fill in your DEFAULT_EMAIL
  3. cp .env.example .env
  4. In the new .env file, fill in your REDDIT_CLIENT_ID and REDDIT_CLIENT_SECRET.
  5. docker-compose up

Releases

No releases published

Packages

No packages published

Languages

  • Python 71.5%
  • HTML 24.3%
  • Dockerfile 2.5%
  • Shell 1.7%