-
Notifications
You must be signed in to change notification settings - Fork 1
Initialize the seats and the multimedia directory
In the file mult_bus/src/bash_scripts/init_theseis.sh
, replace MYSQL_PASS="raspberry"
with the actual password to mysql.
In order to initialize the seats, run the command:
bash mult_bus/src/bash_scripts/init_theseis.sh
This will create a file images.html
, which is an html page with the seats and the corresponding password in text and QR-code, and a directory images
, which contains the QR-code images. The images.html
page can be printed and put besides each seat in order to provide to the users the login information.
Create the directory /home/pi/media_files/music/
and put the song files there.
mkdir -p /home/pi/media_files/music/
In the file mult_bus/src/bash_scripts/init_songs.sh
, replace MYSQL_PASS="raspberry"
with the actual password to mysql and the BASE_DIR="/home/pi/media_files/music/" with the actual directory that hold the songs.
In order to initialize the songs, run the command:
bash mult_bus/src/bash_scripts/init_songs.sh
Create the directory /home/pi/media_files/video/
and put the video files there.
mkdir -p /home/pi/media_files/video/
In the file mult_bus/src/bash_scripts/init_video.sh
, replace MYSQL_PASS="raspberry"
with the actual password to mysql and the BASE_DIR="/home/pi/media_files/video/" with the actual directory that hold the videos.
In order to initialize the videos, run the command:
bash mult_bus/src/bash_scripts/init_video.sh