imageBotDjango/README.md

41 lines
442 B
Markdown

# RatBot
Create database
```zsh
ibot migrate
```
Run server
```zsh
ibot runserver
```
Put images in `media/consume/`
Add `ìmagebot.cfg` with
```cfg
[imagebot]
instance_name=ImageBot
host=localhost
[django]
secret=CHANGE-ME
debug=True
[database]
backend=sqlite3
name=imagebot.sqlite3
[locations]
media_root=./media/
[logging]
app_log_level=INFO
django_log_level=INFO
[fediverse]
server = "example.org"
token = "VERYSECRETTOKEN"
```