Skip to content

Commit 046c2ac

Browse files
author
Philipp Heckel
committed
Update readme
1 parent 7499e46 commit 046c2ac

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,14 @@ sudo apt install replbot asciinema
209209
**Debian/Ubuntu** (*manual install*)**:**
210210
```bash
211211
sudo apt install tmux
212-
wget https://github.com/binwiederhier/replbot/releases/download/v0.6.3/replbot_0.6.3_amd64.deb
213-
dpkg -i replbot_0.6.3_amd64.deb
212+
wget https://github.com/binwiederhier/replbot/releases/download/v0.6.4/replbot_0.6.4_amd64.deb
213+
dpkg -i replbot_0.6.4_amd64.deb
214214
```
215215

216216
**Fedora/RHEL/CentOS:**
217217
```bash
218218
# Make sure that "tmux" is installed
219-
rpm -ivh https://github.com/binwiederhier/replbot/releases/download/v0.6.3/replbot_0.6.3_amd64.rpm
219+
rpm -ivh https://github.com/binwiederhier/replbot/releases/download/v0.6.4/replbot_0.6.4_amd64.rpm
220220
```
221221

222222
**Docker:**
@@ -227,18 +227,23 @@ on the host. This is a security risk and considered bad practice, but it's the o
227227

228228
```bash
229229
# Config and scripts live on the host
230-
wget https://github.com/binwiederhier/replbot/archive/refs/tags/v0.6.3.tar.gz
231-
tar zxvf v0.6.3.tar.gz
230+
wget https://github.com/binwiederhier/replbot/archive/refs/tags/v0.6.4.tar.gz
231+
tar zxvf v0.6.4.tar.gz
232232
sudo mkdir /etc/replbot
233-
sudo cp -a replbot-0.6.3/config/{script.d,config.yml} /etc/replbot
233+
sudo cp -a replbot-0.6.4/config/{script.d,config.yml} /etc/replbot
234234
vi /etc/replbot/config.yml
235235
# Configure at least "bot-token"
236+
# To support web terminal, set "web-host" (e.g. to localhost:31001)
237+
# To support sharing, set "share-host" (e.g. to localhost:31002)
236238

237-
# Then you can start the REPLbot docker image
239+
# Then you can start the REPLbot docker image (assuming web-host listening
240+
# at 31001 and share-host at 31002)
238241
docker run --rm -it \
239242
-v /etc/replbot:/etc/replbot \
240243
-v ~/.asciinema:/root/.config/asciinema \
241244
-v /var/run/docker.sock:/var/run/docker.sock \
245+
-p 31001:31001 \
246+
-p 31002:31002 \
242247
binwiederhier/replbot
243248
```
244249

@@ -255,8 +260,8 @@ go get -u heckel.io/replbot
255260
**Manual install** (*any x86_64-based Linux*)**:**
256261
```bash
257262
# Make sure that "tmux" is installed
258-
wget https://github.com/binwiederhier/replbot/releases/download/v0.6.3/replbot_0.6.3_linux_x86_64.tar.gz
259-
sudo tar -C /usr/bin -zxf replbot_0.6.3_linux_x86_64.tar.gz replbot
263+
wget https://github.com/binwiederhier/replbot/releases/download/v0.6.4/replbot_0.6.4_linux_x86_64.tar.gz
264+
sudo tar -C /usr/bin -zxf replbot_0.6.4_linux_x86_64.tar.gz replbot
260265
```
261266

262267
## Building

0 commit comments

Comments
 (0)