changed README.md

pull/932/head
Drugsosos 3 years ago
parent 2894de3946
commit 3f0fc533e1
No known key found for this signature in database
GPG Key ID: 8E35176FE617E28D

@ -37,10 +37,28 @@ The only original thing being done is the editing and gathering of all materials
## Installation 👩‍💻 ## Installation 👩‍💻
1. Clone this repository 1. [Clone](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) this repository
2. Run `pip install -r requirements.txt` 2. Ensure you have pip installed by running
```
3. Run `python -m playwright install` and `python -m playwright install-deps` python3 -m ensurepip
```
3. Install [Poetry](https://github.com/python-poetry/poetry)
```
pip3 install poetry
```
4. Install project's dependencies
```
poetry install
```
6. Install Playwright's dependencies
```
python -m playwright install
```
```
python -m playwright install-deps
```
**EXPERIMENTAL!!!!** **EXPERIMENTAL!!!!**
@ -50,11 +68,12 @@ On MacOS and Linux (debian, arch, fedora and centos, and based on those), you ca
This can also be used to update the installation This can also be used to update the installation
4. Run `python main.py` 7. Run\
5. Visit [the Reddit Apps page.](https://www.reddit.com/prefs/apps), and set up an app that is a "script". ```poetry run python main.py```
6. The bot will ask you to fill in your details to connect to the Reddit API, and configure the bot to your liking 8. Visit [the Reddit Apps page.](https://www.reddit.com/prefs/apps), and set up an app that is a "script".
7. Enjoy 😎 9. The bot will ask you to fill in your details to connect to the Reddit API, and configure the bot to your liking
8. If you need to reconfigure the bot, simply open the `config.toml` file and delete the lines that need to be changed. On the next run of the bot, it will help you reconfigure those options. 10. Enjoy 😎
11. If you need to reconfigure the bot, simply open the `config.toml` file and delete the lines that need to be changed. On the next run of the bot, it will help you reconfigure those options.
(Note if you got an error installing or running the bot try first rerunning the command with a three after the name e.g. python3 or pip3) (Note if you got an error installing or running the bot try first rerunning the command with a three after the name e.g. python3 or pip3)

Loading…
Cancel
Save