Scorch/README.md

24 lines
700 B
Markdown
Raw Normal View History

2020-05-07 15:31:49 -04:00
# Scorch
A music streaming application.
## Requirements
Python 3.8+
Python packages: `gunicorn aiohttp aiohttp_jinja2 uvloop mutagen`
## Install
2020-06-03 15:50:49 -04:00
```
$ 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
```
2020-05-07 15:31:49 -04:00
1. Get on the floor
2. Walk the dinosaur
## Usage
`gunicorn scorch:init_app --bind localhost:5500 --worker-class aiohttp.GunicornWebWorker`