Dog slideshow
You must get a reddit api client id and secret key. Instructions: https://praw.readthedocs.io/en/latest/getting_started/authentication.html
$ python3 -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt
REDDIT_CLIENT_ID=<id> REDDIT_CLIENT_SECRET=<secret> FLASK_DEBUG=TRUE FLASK_APP=heckingoodboys flask run
python setup.py test
$ npm install -g serverless
$ npm install
$ sls deploy
Install docker and run:
cp .env.acme-companion.example .env.acme-companion
- In the new
.env.acme-companion
file, fill in yourDEFAULT_EMAIL
cp .env.example .env
- In the new
.env
file, fill in yourREDDIT_CLIENT_ID
andREDDIT_CLIENT_SECRET
. docker-compose up