mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-26 19:35:38 +00:00
docs: update code block syntax in README and Raspberry Pi documentation to use bash
This commit is contained in:
@@ -206,19 +206,19 @@ Targets for `MESHCHATX_BUILD_TARGETS`: `all` (default), `wheel`, or `electron` (
|
||||
|
||||
Build:
|
||||
|
||||
```text
|
||||
```bash
|
||||
docker build -f Dockerfile.build -t meshchatx-build:local .
|
||||
```
|
||||
|
||||
Build only a wheel:
|
||||
|
||||
```text
|
||||
```bash
|
||||
docker build -f Dockerfile.build --build-arg MESHCHATX_BUILD_TARGETS=wheel -t meshchatx-build:wheel .
|
||||
```
|
||||
|
||||
Copy `/artifacts` from the finished image to the host:
|
||||
|
||||
```text
|
||||
```bash
|
||||
cid=$(docker create meshchatx-build:local)
|
||||
docker cp "${cid}:/artifacts" ./meshchatx-artifacts
|
||||
docker rm "${cid}"
|
||||
|
||||
@@ -110,7 +110,7 @@ meshchatx --headless --host 0.0.0.0 --port 8000
|
||||
|
||||
Then open:
|
||||
|
||||
```text
|
||||
```bash
|
||||
http://<pi-ip>:8000
|
||||
```
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ meshchatx --headless --host 0.0.0.0 --port 8000
|
||||
|
||||
Then open:
|
||||
|
||||
```text
|
||||
```bash
|
||||
http://<pi-ip>:8000
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user