diff --git a/README.md b/README.md index beee6ae..262f084 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,25 @@ # Allo-GG -Allo-GG by Heuzef & Kaeim6C -OK -©2018 +> Allo-GG by Heuzef & Kaeim6C ©2018 +> heuzef.com / kae.im + +--- + +# Installation de Allo-GG sur un Pi Zero avec Rasbian + +Installer Raspbian LITE : +https://www.raspberrypi.org/documentation/installation/installing-images/README.md + +Executer le script d'installation : +``` +sudo apt-get -y install curl ; curl -sSL https://raw.githubusercontent.com/heuzef/Allo-GG/master/install.sh | sh +``` +--- + +Bien joué 👍 +L'interface web est maintenant accessible sur l'adresse IP de votre PI Z. + +# Liste des fournitures à acheter : + +- Raspberry Pi Zero : https://thepihut.com/products/raspberry-pi-zero | 5€ +- +- diff --git a/install.sh b/install.sh index 9c7cdd4..74e08d2 100755 --- a/install.sh +++ b/install.sh @@ -34,4 +34,5 @@ crontab -l -u allo-gg | echo '@reboot /bin/bash /var/www/html/scripts/boot.sh &' echo "----------------------------" echo "Install done ! Rebooting ..." sleep 3 -reboot + +sh scripts/reboot.sh diff --git a/scripts/reboot.sh b/scripts/reboot.sh index cc6029b..024b294 100755 --- a/scripts/reboot.sh +++ b/scripts/reboot.sh @@ -2,4 +2,4 @@ # Allo-GG # Redemarrage du module -systemctl reboot -i +reboot diff --git a/scripts/update.sh b/scripts/update.sh index 64365fe..e325ba8 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -2,6 +2,6 @@ # Allo-GG # Mise a jour du module -cd /var/www/html/Allo-GG/ -git pull +cd /var/www/html/ +git pull origin master service apache2 restart