README: make commands easier to copy-paste
This commit is contained in:
parent
89e4bc2873
commit
6a40240c64
21
README.md
21
README.md
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue