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' git clone 'https://git.yandere.cc/Anon/YandereLewdBot.git'
cd YandereLewdBot/ cd YandereLewdBot/
python -m venv venv python -m venv venv
source ./venv/bin/activate source venv/bin/activate
pip install --upgrade pip pip install --upgrade pip
pip install -r requirements.txt pip install -r requirements.txt
deactivate deactivate
# Generate the default folder structure. # Generate the default folder structure.
mkdir ./md5 mkdir md5
mkdir -p ./rsc/{safe,nsfw} mkdir -p rsc/{safe,nsfw}
cp -vn ./default/cfg.py ./src/cfg.py cp -vn default/cfg.py src/cfg.py
./run.sh -h ./run.sh -h
``` ```
If everything worked correctly you should see usage information on Yandere Lewd Bot. 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. To generate your tokens, run the following commands and follow the interactive prompts.
``` ```
source ./venv/bin/activate cd ..
./src/create_app.py 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. # 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: 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 ```text
settings_server = OrderedDict([ settings_server = OrderedDict([