3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-06 03:59:31 +01:00

Docker/README.md: add section headers

This commit is contained in:
Pragmatic Software 2024-03-31 15:23:30 -07:00
parent b40955a16e
commit 4df50dc340
No known key found for this signature in database
GPG Key ID: CC916B6E3C84ECCE
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,7 @@
# Docker instructions
### Install Docker
Install docker:
zypper install docker docker-compose docker-compose-switch
@ -26,6 +30,8 @@ Log in to the docker group:
If the above does not work, e.g. because you are in a tmux session, you can `su $USER` instead.
### Build image and configure PBot
Build image:
docker build . -t pbot
@ -60,6 +66,8 @@ to create your bot-admin account, add channels, etc.
To shutdown the bot, press `^C` (ctrl-c) or enter `die` into the PBot terminal console.
### Running PBot
To start the bot again in the future:
docker start pbot
@ -70,4 +78,6 @@ This will start the bot in the background. You can reattach to its PBot terminal
Press `^X` (ctrl-x) to detach or `^C` (ctrl-c) to shutdown the bot.
### Further Reading
See [Further Reading](../doc/QuickStart.md#further-reading) in the [QuickStart guide](../doc/QuickStart.md) for additional information.

View File

@ -25,8 +25,8 @@ use PBot::Imports;
# These are set by the /misc/update_version script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 4729,
BUILD_DATE => "2024-03-30",
BUILD_REVISION => 4732,
BUILD_DATE => "2024-03-31",
};
sub initialize {}