Updaed README.md to include instructions for CreatePleromaApp

This commit is contained in:
Anon 2022-08-27 01:07:50 -07:00
parent bc439c1599
commit c38c5b5754

View File

@ -20,14 +20,14 @@ sudo pacman -S --needed python git
git clone 'https://git.yandere.cc/Anon/YandereLewdBot.git'
cd YandereLewdBot/
python -m venv venv
source ./venv/bin/activate
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
deactivate
# Generate the default folder structure.
mkdir ./md5
mkdir -p ./rsc/{safe,nsfw}
cp -vn ./default/cfg.py ./src/cfg.py
mkdir md5
mkdir -p rsc/{safe,nsfw}
cp -vn default/cfg.py src/cfg.py
./run.sh -h
```
If everything worked correctly you should see usage information on Yandere Lewd Bot.
@ -46,12 +46,15 @@ Before you can begin posting from the bot, you must first create an account on t
To generate your tokens, run the following commands and follow the interactive prompts.
```
source ./venv/bin/activate
./src/create_app.py
cd ..
git clone 'https://git.yandere.cc/Anon/CreatePleromaApp.git'
ln -s "$(pwd)"/YandereLewdBot/{venv,src/cfg.py} "CreatePleromaApp/"
cd CreatePleromaApp
./run.sh -c cfg
# Follow the interactive prompts.
deactivate
```
If you did everything correctly you should see `Success! :)` at the end of the terminal, as well as your credentials in the format below:
```text
settings_server = OrderedDict([