Updated README.md to reflect Debian package build
This commit is contained in:
parent
b2a8a2f90b
commit
7fe2fbd64e
16
README.md
16
README.md
|
@ -13,20 +13,16 @@ A TORch solution consists of 3 processes:
|
||||||
* MQTT broker - Any MQTT broker, reachable via IPv4 or Tor, through TLS or insecure communications
|
* MQTT broker - Any MQTT broker, reachable via IPv4 or Tor, through TLS or insecure communications
|
||||||
* `torch-subscriber` - Listens for and handles onion hostname publications
|
* `torch-subscriber` - Listens for and handles onion hostname publications
|
||||||
|
|
||||||
## Installation of TORch Agent (Ubuntu)
|
## Build Debian Package
|
||||||
|
|
||||||
Copy the files to the target device
|
Run `make-pkg.sh` to build a Debian package and install it
|
||||||
* `install-ubuntu2004.sh`
|
|
||||||
* `torch-agent.py`
|
|
||||||
* `torch.conf`
|
|
||||||
* `torch.service`
|
|
||||||
|
|
||||||
Run the installation script:
|
|
||||||
```bash
|
```bash
|
||||||
vagrant@ubuntu2004:~$ ./install-ubuntu2004.sh
|
./make-pkg.sh
|
||||||
|
apt update && apt install build/torch-agent_0.0.1-1_all.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
This will create a local user `torch` and install the TORch agent as a Systemd service named `torch`
|
This will create a local user `torch` and install the TORch agent as a Systemd service named `torch-agent`
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
@ -43,6 +39,4 @@ See the sample [`torch.conf`](torch.conf) file for additional configuration opti
|
||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
[ ] Create a Debian service installation package
|
|
||||||
|
|
||||||
[ ] Create a [pi-gen](https://github.com/RPi-Distro/pi-gen) image with TORch agent installed and `/boot` partition configuration
|
[ ] Create a [pi-gen](https://github.com/RPi-Distro/pi-gen) image with TORch agent installed and `/boot` partition configuration
|
Loading…
Reference in New Issue
Block a user