README: make commands easier to copy-paste

pull/13/head
missytake 2023-10-09 09:15:09 +02:00
parent 89e4bc2873
commit 6a40240c64
1 changed files with 14 additions and 7 deletions

View File

@ -72,17 +72,24 @@ After you deployed it,
you need to do two steps manually:
First,
login to the user with ssh
and run
`export $(cat ~/.env | xargs) && ~/.local/lib/teams-bot.venv/bin/teams-bot init`
to initialize the bot,
create the crew,
and join the crew.
and join the crew,
login to the user with ssh
and run:
Then run
`systemctl --user start teams-bot`
```
export $(cat ~/.env | xargs) && ~/.local/lib/teams-bot.venv/bin/teams-bot init
```
Then,
to start the bot
and keep it running in the background.
and keep it running in the background,
run:
```
systemctl --user start teams-bot
```
You can view the log output
with `journalctl --user -fu teams-bot`