mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-05 19:49:32 +01:00
Docker/README.md: add section headers
This commit is contained in:
parent
b40955a16e
commit
4df50dc340
@ -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.
|
||||
|
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user