This repository takes inspiration from this repo. In particular, `main.py` and `make-migrations`.
I tried to be as generic as possible while creating these installation instructions, but, of course, things may differ depending on your distro and python3 installations. Please use your common sense when following them. ;)
sudo apt install mpd
sudo apt install mpc
systemctl --user enable mpd.service
sudo apt install sqlite
python -m pip install hy hyrule flask flask-sqlalchemy flask-migrate
git clone https://github.com/danieljaouen/pi-radio.git
mkdir -p ~/dbs
chmod u+x ./make-migrations
./make-migrations
chmod u+x ./main.py
FLASK_ENV=development ./main.py