Making a GUI for Vending Machine using Django with Kiosk Mode
-
Upgrade your Python from 2 to 3 or higher (https://www.youtube.com/watch?v=hGoXfLnNBOA)
-
Install Django in raspberry pi (https://www.youtube.com/watch?v=jSZWwiBPp3U)
-
Initalize Django app in raspberry pi
-
Replace the App Files with the above Files
-
Start the server using DIr>python manage.py runserver
-
Edit the HTML files if you want and access Gpio using python Gpio library examples given.
-
Create autoserverrun script (https://www.raspberrypi.org/forums/viewtopic.phpf=28&t=257749&p=1571618&hilit=django+auto+start#p1571618)
-
Enable KIOSK Mode in Raspberry pi (https://www.youtube.com/watch?v=I2laR5G5FFo)