2023-12-03 23:01:55 +09:00
|
|
|
# Misskey Random Sentence Bot
|
2023-12-08 23:17:14 +09:00
|
|
|
|
2023-12-08 23:21:14 +09:00
|
|
|
[![no github badge](https://nogithub.codeberg.page/badge.svg)](https://nogithub.codeberg.page/)
|
|
|
|
|
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
|
|
|
|
|
|
|
```
|
2023-12-08 23:50:45 +09:00
|
|
|
5. RUN
|
2023-12-08 23:17:14 +09:00
|
|
|
|
|
|
|
```
|
2023-12-08 23:50:45 +09:00
|
|
|
python main.py
|
2023-12-08 23:17:14 +09:00
|
|
|
|
|
|
|
```
|