pushshift/readme.md

16 lines
421 B
Markdown

```bash
# ...install PostgreSQL...
pip install -r requirements.txt
# ...modify example yamls...
mv batcher_config.example.yaml batcher_config.yaml
mv fetcher_config.example.yaml fetcher_config.yaml
mkdir logs
bash compile_proto.sh
# Then run both of these files:
python batcher.py
python fetcher.py
```
Getting a refresh token:
https://praw.readthedocs.io/en/stable/tutorials/refresh_token.html#obtaining-refresh-tokens