https://github.com/lambda-fairy/autosubmit
Post automatically to reddit
https://github.com/lambda-fairy/autosubmit
Last synced: over 1 year ago
JSON representation
Post automatically to reddit
- Host: GitHub
- URL: https://github.com/lambda-fairy/autosubmit
- Owner: lambda-fairy
- Created: 2015-06-29T00:27:03.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-09-03T09:38:41.000Z (almost 10 years ago)
- Last Synced: 2025-03-17T11:59:19.838Z (over 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# autosubmit
1. Set up pyvenv
$ pyvenv-3.4 --without-pip env
$ source env/bin/activate.fish
$ curl https://bootstrap.pypa.io/get-pip.py | python3.4
$ deactivate
$ source env/bin/activate.fish
2. Install dependencies
$ pip3 install -r requirements.txt
3. Hook up OAuth
$ cat > praw.ini
[reddit]
domain: www.reddit.com
oauth_client_id: ...
oauth_client_secret: ...
oauth_redirect_uri: ...
^D
$ ./login.py
4. Add cron job
$ sudo -e /etc/crontab
5. Party