README: make commands easier to copy-paste

This commit is contained in:
missytake 2023-10-09 09:15:09 +02:00
parent 89e4bc2873
commit 6a40240c64

View file

@ -72,17 +72,24 @@ After you deployed it,
you need to do two steps manually: you need to do two steps manually:
First, 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, to initialize the bot,
create the crew, 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 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 You can view the log output
with `journalctl --user -fu teams-bot` with `journalctl --user -fu teams-bot`