diff --git a/readme.md b/readme.md index 52d2125..f309622 100755 --- a/readme.md +++ b/readme.md @@ -1,4 +1,31 @@ -# VMA 405 +# Installation du Cashless sur le pi +## 1 - Cloner le projet + +## 2 - Créer une image +- PI OS Lite LEGACY +- Utilisateur = sysop +- Wifi +- SSH +Attention, penser à mettre votre clef publique sur le pi (ssh-copy) + +## 3 - Ansible(hôte) inventaire des pi +``` +sudo nano /etc/ansible/hosts +``` +``` +[rpiDsi] +pi1 ansible_host=192.168.1.11 hostname=pi1 token=xxxxxxxxxxxx password=xxxxxxxxxxxx frontType=FPI serveur=nom_de_domain(+port si besoin) protocole=http(ou https) +pi2 ansible_host=192.168.1.6 hostname=pi2 token=xxxxxxxxxxxx password=xxxxxxxxxxxx frontType=FPI serveur=nom_de_domain(+port si besoin) protocole=http(ou https) +``` +## 4 - Ansible(hôte) installation +- A la racine du projet +``` +ansible-playbook install_1024x600_vma405_chromium.yml -K +``` + +# Informations + +## Pin raspberry pi 3 b+ @@ -10,6 +37,7 @@
+## Cablage VMA405 ou RC522 @@ -40,13 +68,7 @@
- - - -# installation de node js (ansible) -install_1024x600_vma405_chromium.yml - -# splash screen (écran de boot = pub) +## splash screen (écran de boot) ``` sudo cp splash.png /usr/share/plymouth/themes/pix/splash.png sudo cp splash.png /usr/share/plymouth/themes/pix/splash.png @@ -80,7 +102,7 @@ WantedBy=sysinit.target sudo systemctl enable splashscreen.service sudo systemctl start splashscreen.service -# /ext/xdg/openbox/autostart +## /ext/xdg/openbox/autostart ``` #/etc/xdg/openbox/ DISPLAY=:0 xdotool getactivewindow key F5 @@ -107,9 +129,7 @@ node serveur_nfc.js ``` -# /home/sysop/.bashrc (ajouter) +## /home/sysop/.bashrc (ajouter) ``` [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx -- -nocursor -``` - -# L'automatisation de l'install par ansible est en cours !!! +``` \ No newline at end of file