fix readme typo
This commit is contained in:
parent
d5e663aaac
commit
0279c92076
2 changed files with 6 additions and 6 deletions
|
|
@ -14,16 +14,16 @@ update_system() {
|
|||
}
|
||||
|
||||
install_screen() {
|
||||
sudo raspi-config nonint do_i2c 0
|
||||
echo "Installing screen program"
|
||||
cd portal
|
||||
sudo raspi-config nonint do_i2c 0
|
||||
/home/grace/.volta/bin/npm install
|
||||
/home/grace/.volta/bin/npx prisma generate && /home/grace/.volta/bin/npx prisma db push && /home/grace/.volta/bin/npx prisma db seed
|
||||
}
|
||||
|
||||
install_sound_card_drivers() {
|
||||
echo "Installing sound card drivers"
|
||||
git clone https://github.com/waveshare/WM8960-Audio-HAT
|
||||
cd /home/grace/
|
||||
git clone https://github.com/waveshare/WM8960-Audio-HAT
|
||||
cd WM8960-Audio-HAT
|
||||
sudo ./install.sh
|
||||
}
|
||||
|
|
@ -39,8 +39,8 @@ configure_sound() {
|
|||
|
||||
setup_daemons() {
|
||||
echo "Setting up daemons"
|
||||
sudo cp ./screen.service /lib/systemd/system/
|
||||
sudo cp ./player.service /lib/systemd/system/
|
||||
sudo cp /home/grace/portal/setup/listener-puppet/screen.service /lib/systemd/system/
|
||||
sudo cp /home/grace/portal/setup/listener-puppet/player.service /lib/systemd/system/
|
||||
systemctl daemon-reload
|
||||
systemctl enable player
|
||||
systemctl enable screen
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ wget https://git.featherboaz.com/boazsender/portal/archive/main.zip
|
|||
unzip main.zip
|
||||
rm main.zip
|
||||
cd portal/setup/listener-puppet
|
||||
chmod +x volta.sh && chmod +x install.sh && ./volta
|
||||
chmod +x volta.sh && chmod +x install.sh && ./volta.sh
|
||||
./install.sh
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue