mastodon-random-sentence-bot/README.md

36 lines
341 B
Markdown
Raw Normal View History

2023-12-03 23:01:55 +09:00
# Misskey Random Sentence Bot
2023-12-08 23:17:14 +09:00
## How to run manually
2023-12-03 23:01:55 +09:00
1. clone repo
2. make venv
2023-12-08 23:17:14 +09:00
2023-12-03 23:01:55 +09:00
```
python3 -m venv venv
source ./venv/bin/activate
```
2023-12-08 23:17:14 +09:00
2023-12-03 23:01:55 +09:00
3. install modules
2023-12-08 23:17:14 +09:00
2023-12-03 23:01:55 +09:00
```
pip install -r requirements.txt
```
2023-12-08 23:17:14 +09:00
2023-12-03 23:01:55 +09:00
4. change setting
2023-12-08 23:17:14 +09:00
2023-12-03 23:01:55 +09:00
```
# copy example setting file
2023-12-08 23:17:14 +09:00
cp .example.env .env
2023-12-03 23:01:55 +09:00
# edit setting file
2023-12-08 23:17:14 +09:00
vim .env
2023-12-03 23:01:55 +09:00
5. RUN
```
2023-12-08 23:17:14 +09:00
2023-12-03 23:01:55 +09:00
python main.py
2023-12-08 23:17:14 +09:00
```
```