mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
25 lines
834 B
Markdown
25 lines
834 B
Markdown
# How do I use this thing?
|
|
This is not a full turnkey setup for Docker yet but gets you most of the way there!
|
|
|
|
## Setup New Image
|
|
`docker build -t meshing-around .`
|
|
|
|
there is also [script/docker/docker-install.bat](script/docker/docker-install.bat) which will automate this.
|
|
|
|
## Ollama Image with compose
|
|
still a WIP
|
|
`docker compose up -d`
|
|
|
|
## Edit the config.ini in the docker
|
|
To edit the config.ini in the docker you can
|
|
`docker run -it --entrypoint /bin/bash meshing-around -c "nano /app/config.ini"`
|
|
|
|
there is also [script/docker/docker-terminal.bat](script/docker/docker-terminal.bat) which will open nano to edit.
|
|
ctl+o to write out and exit editor in shell
|
|
|
|
## other info
|
|
1. Ensure your serial port is properly shared.
|
|
2. Run the Docker container:
|
|
```sh
|
|
docker run --rm -it --device=/dev/ttyUSB0 meshing-around
|
|
``` |