Skip to content

An internet radio program written in the Hy language + Flask.

Notifications You must be signed in to change notification settings

danieljaouen/pi-radio-hylang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. ;)

Install MPD and MPC.

sudo apt install mpd
sudo apt install mpc

Start mpd.

systemctl --user enable mpd.service

Install SQLite.

sudo apt install sqlite

pip install hy, hyrule, flask, flask-sqlalchemy, & flask-migrate.

python -m pip install hy hyrule flask flask-sqlalchemy flask-migrate

Clone down the repository.

git clone https://github.com/danieljaouen/pi-radio.git

Create the dbs directory.

mkdir -p ~/dbs

Create the db.

chmod u+x ./make-migrations
./make-migrations

`chmod` the `main.py` file.

chmod u+x ./main.py

Run the app.

FLASK_ENV=development ./main.py

About

An internet radio program written in the Hy language + Flask.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published