Update README.md

This commit is contained in:
th33xitus 2022-02-11 21:16:41 +01:00
parent 4851268d3f
commit 125139e934
1 changed files with 18 additions and 13 deletions

View File

@ -6,21 +6,26 @@
### **Run a simulated Klipper 3D-Printer in a Docker container.** ### **Run a simulated Klipper 3D-Printer in a Docker container.**
--- ---
## Getting started: ### Instructions:
### 🔵 Part 1:
1. Clone this repository 1. Clone this repository
2. Open a terminal in the cloned folder 2. Open a terminal in the cloned folder
3. Run `docker-compose up` to build the docker image and start the container 3. Run `docker-compose up -d` to build the docker image and start the container afterwards
### 🟢 Part 2:
During the process a folder named `printer` will appear. Inside of that folder you will find commonly known folders like `klipper_config`, `klipper_logs` and `gcode_files`.
4. Copy all configuration files from the [example-configs](example-configs) to `printer/klipper_configs`
5. Restart the container
6. Done
Klipper, Moonraker and a simulated Atmel ATmega micro-controller now run inside of the Docker container and you can use it for whatever reason you decided to clone this repository 😄.
--- ---
Feel free to contribute if you find solutions to make the docker image even smaller (~ 700 MB as of now) or provide ideas to generally improve this project. Notes:
* You can access the containers shell with the following command:\
`docker exec -it <CONTAINER ID> bash`
* You get the `<CONTAINER ID>` with the following command:\
`docker ps`
* Restart the container with:\
`docker container restart <CONTAINER ID>`
---
Klipper, Moonraker and a simulated Atmel ATmega micro-controller now run inside of the Docker container and you can use it for whatever reason you decided to clone this repository 😄.
The container is build in a way, that you are able to quickly "re-install" Klipper and Moonraker or can quickly re-build the python environments or the firmware if that is ever necessary. For that, simply delete the corresponding folder/file and restart the container and the required components will be "installed" again.
Feel free to contribute if you find solutions to make the docker image even smaller (~ 675 MB as of now) or provide ideas to generally improve this project.