Browse Source

Update README.md

master
Heuzef 1 year ago
parent
commit
3138582592
1 changed files with 13 additions and 13 deletions
  1. +13
    -13
      README.md

+ 13
- 13
README.md View File

@@ -45,34 +45,34 @@ sudo apt install nodm
git clone https://git.heuzef.com/Flutter/eggnoggpi.git
```

## Clone the repo of project

## Configure nodm

You can then configure nodm or just use the configuration file with this repo

```
cp /home/pi/eggnoggpi/files/etc/default/* /etc/default/
sudo cp /home/pi/eggnoggpi/files/etc/default/* /etc/default/
```

## Download eggnoggplus

To be continued
## Install eggnoggplus

Then copy the setting file
```
cp -R files/home/pi/.madgarden /home/pi/
sudo cp -r /home/pi/eggnoggpi/files/home/eggnoggplus-linux/ /home/pi/
sudo chown pi:pi -R /home/pi/eggnoggplus-linux/
cp -R /home/pi/eggnoggpi/files/home/.madgarden/ /home/pi/
```

## Install the service

To allow eggnogg to start on boot, we install it as a systemd service, you can write your own or just use the one with this repos

```
cp files/etc/systemd/system/eggnoggpi.service /etc/systemd/system/eggnoggpi.service
systemctl daemon-reload
systemctl enable eggnoggpi
systemctl start eggnoggpi
sudo cp /home/pi/eggnoggpi/files/etc/systemd/system/eggnoggpi.service /etc/systemd/system/eggnoggpi.service
sudo systemctl daemon-reload
sudo systemctl enable eggnoggpi
sudo systemctl start eggnoggpi
```

If eggnoggpi doesn't start with the pi, add this little hack too
```
echo "@reboot root /sbin/service eggnoggpi start" >> /etc/crontab
sudo echo "@reboot root /sbin/service eggnoggpi start" >> /etc/crontab
```

Loading…
Cancel
Save