Skip to content

Commit ed7c919

Browse files
committed
Docs + on HW install v0.2
1 parent 8420141 commit ed7c919

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

docs/HW_INSTALL.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,14 @@ PiAlert will be installed in `home/pi/pialert/` and run on port number `20211`.
1010
## CURL
1111

1212
```bash
13-
curl -o install.sh https://raw.githubusercontent.com/jokob-sk/Pi.Alert/main/install/install.sh
14-
chmod +x install.sh
15-
./install.sh
13+
curl -o install.sh https://raw.githubusercontent.com/jokob-sk/Pi.Alert/main/install/install.sh && sudo chmod +x install.sh && sudo ./install.sh
1614
```
1715

1816
## WGET
1917

2018

2119
```bash
22-
wget https://raw.githubusercontent.com/jokob-sk/Pi.Alert/main/install/install.sh
23-
chmod +x install.sh
24-
./install.sh
20+
wget https://raw.githubusercontent.com/jokob-sk/Pi.Alert/main/install/install.sh -O install.sh && sudo chmod +x install.sh && sudo ./install.sh
2521
```
2622

2723
These commands will download the `install.sh` script from the GitHub repository, make it executable with `chmod`, and then run it using `./install.sh`.

back/install.sh renamed to install/install.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ apt-get install -y \
3131
sudo apt-get install -y \
3232
nginx nginx-core mtr mtr-tiny php-fpm php7.4-fpm
3333

34-
sudo apt install php-cli php8.2 php8.2-fpm -y
3534
sudo apt install php-cli php7.4 php7.4-fpm -y
36-
3735
sudo apt install php7.4-sqlite3 -y
3836

3937
sudo phpenmod -v 7.4 sqlite3

0 commit comments

Comments
 (0)