qmsk / e2

E2 Client, Tally output
Mozilla Public License 2.0
26 stars 7 forks source link

Distribution packaging, install guide #10

Closed SpComb closed 6 years ago

SpComb commented 7 years ago

There are now automated binary builds (#6) in .tar.gz format, suitable for unpacking into /opt/qmsk-e2. This is a slightly lame distribution/packaging format, since it requires some manual work to setup the system user + systemd service etc. to actually run it.

This needs a better install guide on how to install and configure the binary build tarballs:

$ curl -vL https://github.com/qmsk/e2/releases/download/v0.2.2/qmsk-e2_0.2.2_linux-arm.tar.gz | sudo tar -C /opt -xzv
$ sudo ln -s qmsk-e2_0.2.2_linux-arm /opt/qmsk-e2
$ ls -la /opt/                              
total 4
drwxr-xr-x 1 root root   64 Sep 12 21:14 .
drwxr-xr-x 1 root root  152 Sep 12 21:11 ..
lrwxrwxrwx 1 root root   25 Sep 12 21:14 qmsk-e2 -> qmsk-e2_0.2.2_linux-arm
drwxr-xr-x 1 1000 users  24 Sep 12 21:06 qmsk-e2_0.2.2_linux-arm
$ /opt/qmsk-e2/bin/tally --http-listen=:8001 --http-static=/opt/qmsk-e2/static 
2016/09/12 21:15:19 Serve static /static/ from /opt/qmsk-e2/static
2016/09/12 21:15:19 tally: Update: sources=0 inputs=0 outputs=0 tallys=0

Ideally there would be something even easier to install like a raspian .deb, or an entire bootable buildroot image.

SpComb commented 6 years ago

Fixed in #38