Compare commits
2 commits
d08e5607a5
...
152b2fffb9
Author | SHA1 | Date | |
---|---|---|---|
|
152b2fffb9 | ||
|
025c1ec9b0 |
1 changed files with 0 additions and 28 deletions
28
README.md
28
README.md
|
@ -1,28 +0,0 @@
|
|||
## steps I have taken while installing on pi
|
||||
git clone [this repo] (I actually used scp)
|
||||
sudo apt install python3-flask
|
||||
rm -rf library_bridge.h and library_bridge.h
|
||||
|
||||
add: export GO111MODULE=on, to the first line of the Makefile
|
||||
make
|
||||
|
||||
edit dhcpcd.conf and uncomment and change:
|
||||
static ip_address=10.209.10.2/24
|
||||
static routers=10.209.10.254
|
||||
static domain_name_servers=10.209.10.255
|
||||
|
||||
edit /etc/nginx/sites-available/default and change:
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
proxy_redirect http://127.0.0.1:8080 $scheme://$host:8080;
|
||||
}
|
||||
to
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5000;
|
||||
proxy_redirect http://127.0.0.1:8080 $scheme://$host:5000;
|
||||
}
|
||||
|
||||
systemctl stop & enable labelapi.service
|
||||
cp to /etc/systemd/system label_printer.service, and enable
|
Loading…
Reference in a new issue