WORK IN PROGRESS
- PHP 7+
- NodeJS + NPM
- youtube-dl (optional for YouTube editor)
sudo apt install youtube-dl - ffmpeg (optional for YouTube editor)
sudo apt install ffmpeg
- Copy
config.json.disttoconfig.jsonand modify it to your needs. - Run
npm i(this may take a while, so alternatively you may install locally and uploadnode_modulesinstead) - Run
npx gulp production(orgulp productionif you have gulp installed globally) - You probably want to update the
upload_max_filesizeandpost_max_sizeinphp.iniif it is still set to the default 2/8Mb.
- Run
php -S 0.0.0.0:8000 -t /var/www/public_html/or serve from apache/nginx or whatever
- Run
sudo apt install php php-mbstring
- Run
sudo apt install -y nodejs - Run
sudo apt install -y npm - Run
sudo npm i -g npm
- Run
sudo apt install -y vlc
- Run
git clone https://github.com/WouterWidgets/soundboard-v2 /var/www - Follow this README.md
- Run
sudo apt install -y pure-ftpd - Run
sudo groupadd ftpgroup - Run
sudo useradd ftpuser -g ftpgroup -s /sbin/nologin -d /dev/null - Run
sudo chown -R ftpuser:ftpgroup /var/www/public_html/files - Run
sudo pure-pw useradd soundboard -u ftpuser -g ftpgroup -d /var/www/public_html/files -m - Enter a password for the user, e.g.
soundboard - Run
sudo pure-pw mkdb - Run
sudo ln -s /etc/pure-ftpd/conf/PureDB /etc/pure-ftpd/auth/60puredb - Run
sudo service pure-ftpd restart
- You might want to set the 3.5mm audio as the default audio device.
- Increase volume using
amixer sset PCM,0 90% - If you want to hide the mouse cursor, follow these steps:
- Run
sudo apt-get install unclutter - Run
nano ~/.config/lxsession/LXDE-pi/autostart(orsudo nano /etc/xdg/lxsession/LXDE-pi/autostartdepending on your Raspbian version) - Add this line:
@unclutter -idle 0and save changes - Reboot your device (
sudo reboot)
- Run