A Vue.js project
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
Assurez vous d'installer nodejs et npm
Cloner le projet au même niveau que le dossier Retropie
Appeler le dossier contenant le projet "projetNodeJS"
Installer les dépendances renseignées dans le package.json en faisant npm install
Une fois dépendances installées, faire un "node app.js" pour lancer le serveur. Il faudra avoir récupérer l'IP du raspberry qui sera utilisé pour se connecter. Placer l'URL suivant pour accéder à la page web générée:
PS: Dans la index.html, il faut modifié l'IP du raspberry qui utilisé dans la requête qui permet de récupérer la liste des dossiers de jeux du dossier "roms"