mirror of
https://github.com/developersIndia/deviras.git
synced 2024-11-13 00:36:09 +05:30
67 lines
2.7 KiB
Markdown
67 lines
2.7 KiB
Markdown
# deviras
|
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)
|
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
|
|
> Bunch of scripts to automate stuff around the developersIndia subreddit
|
|
|
|
|
|
## Scripts
|
|
|
|
### [main.py](https://github.com/developersIndia/deviras/blob/main/main.py)
|
|
|
|
Used for changing the text below total members & live members count in a subreddit.
|
|
|
|
![r/developersIndia About widget](https://user-images.githubusercontent.com/34342551/185678556-e4c911c9-fb12-49da-9ca6-8f8ce2ad9b5a.png)
|
|
|
|
## Setup
|
|
|
|
1. Clone the repo
|
|
|
|
```bash
|
|
git clone https://github.com/developersIndia/deviras.git
|
|
```
|
|
2. Initialise a virtual environment.
|
|
|
|
```bash
|
|
cd deviras
|
|
python3 -m venv venv
|
|
source venv/bin/activate
|
|
```
|
|
3. Install dependencies
|
|
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
4. To run the tests, use the following command in a python virtual environment:
|
|
|
|
```bash
|
|
python -m unittest
|
|
```
|
|
|
|
## Resources & Learning Material
|
|
|
|
- [PRAW Docs](https://praw.readthedocs.io/en/stable/code_overview/other/idcard.html)
|
|
|
|
## Contributors ✨
|
|
|
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
|
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
<!-- prettier-ignore-start -->
|
|
<!-- markdownlint-disable -->
|
|
<table>
|
|
<tr>
|
|
<td align="center"><a href="https://github.com/SameerSahu007"><img src="https://avatars.githubusercontent.com/u/29480670?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sameer Sahu</b></sub></a><br /><a href="https://github.com/developersIndia/deviras/commits?author=SameerSahu007" title="Code">💻</a></td>
|
|
<td align="center"><a href="http://pavanjadhaw.me"><img src="https://avatars.githubusercontent.com/u/26551780?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Pavan Jadhaw</b></sub></a><br /><a href="#ideas-pavanjadhaw" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
<td align="center"><a href="https://animesh-ghosh.github.io/"><img src="https://avatars.githubusercontent.com/u/34956994?v=4?s=100" width="100px;" alt=""/><br /><sub><b>MaDDogx</b></sub></a><br /><a href="https://github.com/developersIndia/deviras/commits?author=Animesh-Ghosh" title="Code">💻</a> <a href="https://github.com/developersIndia/deviras/commits?author=Animesh-Ghosh" title="Tests">⚠️</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!-- markdownlint-restore -->
|
|
<!-- prettier-ignore-end -->
|
|
|
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
|
|
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|