A music streaming platform.
Go to file
2020-06-16 12:40:02 -04:00
static style 2020-06-16 12:40:02 -04:00
templates lighthouse score 2020-06-16 10:11:38 -04:00
.gitignore first commit 2020-05-07 15:31:49 -04:00
buckler_aiohttp.py first commit 2020-05-07 15:31:49 -04:00
config.py.template third commit 2020-06-03 15:50:49 -04:00
database.py third commit 2020-06-03 15:50:49 -04:00
events.py add coverart 2020-06-16 09:58:00 -04:00
LICENSE first commit 2020-05-07 15:31:49 -04:00
README.md fourth commit 2020-06-15 09:57:23 -04:00
scorch.py fourth commit 2020-06-15 09:57:23 -04:00
scorch.sql third commit 2020-06-03 15:50:49 -04:00

Scorch

A music streaming application.

Requirements

Python 3.8+
Python packages: gunicorn aiohttp aiohttp_jinja2 uvloop mutagen asyncpg

Install

$ psql
postgres=# CREATE DATABASE "scorch";
postgres=# CREATE USER "scorch" WITH PASSWORD 'password';
postgres=# ALTER ROLE "scorch" SET client_encoding TO 'utf8';
postgres=# ALTER ROLE "scorch" SET default_transaction_isolation TO 'read committed';
postgres=# ALTER ROLE "scorch" SET timezone TO 'UTC';
postgres=# GRANT ALL PRIVILEGES ON DATABASE "scorch" TO "scorch";
postgres=# \q
  1. Get on the floor
  2. Walk the dinosaur

Usage

gunicorn scorch:init_app --bind localhost:5500 --worker-class aiohttp.GunicornWebWorker