Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/droidion/opus-classical-gleam
- Owner: Droidion
- Created: 2024-09-28T13:43:35.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-28T18:27:32.000Z (3 months ago)
- Last Synced: 2024-12-07T07:04:22.014Z (about 1 month ago)
- Language: CSS
- Homepage:
- Size: 7.32 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 modeHave `.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`