Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/droidion/opus-classical-gleam

Catalogue for streaming classical music
https://github.com/droidion/opus-classical-gleam

Last synced: about 1 month ago
JSON representation

Catalogue for streaming classical music

Awesome Lists containing this project

README

        

# Opus Classical

Using Gleam!

## Development

Have [Gleam](https://gleam.run/getting-started/installing) installed.

Have [Bun](https://bun.sh/docs/installation) installed.

Install packages:

- `$ bun install`
- `$ gleam deps download`

Build Tailwind:

- `$ bunx tailwindcss -i ./assets/app.css -o ./priv/static/app.css` once
- `$ bunx tailwindcss -i ./assets/app.css -o ./priv/static/app.css --watch` in watch mode

Have `.env` with env vars:

```dotenv
POSTGRES_USER=postgres.name
POSTGRES_PASSWORD=passowrd
POSTGRES_HOST=aws-0-eu-central-1.pooler.supabase.com
POSTGRES_DATABASE=postgres
POSTGRES_PORT=5432
SERVER_PORT=8000
SECRET_KEY=asj3lw4_Sd5klysgf_gg3111
```

Run the server:

- `$ gleam run`