Spaces:
Sleeping
Sleeping
|
Download src/backend/doc/dev_socket.md from AZILS/puter-deploy: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/spaces/AZILS/puter-deploy/resolve/main/src/backend/doc/dev_socket.md
- Command line
-
hf download hf://spaces/AZILS/puter-deploy/src/backend/doc/dev_socket.md
-
curl -L -o dev_socket.md https://huggingface.co/spaces/AZILS/puter-deploy/resolve/main/src/backend/doc/dev_socket.md
598 Bytes
| ## Backend - dev socket | |
| The "dev socket" allows you to interact with Puter's backend by running commands. | |
| It's a UNIX socket created in Puter's runtime directory | |
| (typically `./volatile/runtime`, or `/var/puter` for production instances). | |
| When in the runtime directory, you can connect to the socket with your tool | |
| of choice. For example, using `nc` as well as `rlwrap` to get readline history: | |
| ``` | |
| rlwrap nc -U ./dev.sock | |
| ``` | |
| If it is successful you will see a message with instructions. At this point | |
| you may enter a command. Enter the `help` command to see a list of commands. | |