This repository has been archived by the owner on Aug 7, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Development Guide
Param Thakkar edited this page May 21, 2019
·
1 revision
Please create a new issue before working on a PR
git clone https://github.com/paramt/MemeAdviser.git
cd MemeAdviser
pip install -r requirements.txt
- Create a new app on Reddit
- Follow this link
- Click create new app
- Choose personal use script
- Add a name and description
- Click create app and copy the ID and secret
- Export the following environment variables:
client_id=[YOUR APP ID]
client_secret=[YOUR APP SECRET]
username=[YOUR REDDIT USERNAME]
password=[YOUR REDDIT PASSWORD]
user_agent=MemeAdviser Dev 1.0
Run pytest -v
to run the bot without replying to submissions on reddit.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.