Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/droidion/opus-classical-fsharp
https://github.com/droidion/opus-classical-fsharp
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/droidion/opus-classical-fsharp
- Owner: Droidion
- Created: 2024-11-18T16:22:36.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-26T12:44:31.000Z (about 1 month ago)
- Last Synced: 2024-12-07T07:04:21.810Z (about 1 month ago)
- Language: F#
- Size: 170 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Opus Classical
In F#!
## How to run
Have [DotNet 9](https://dotnet.microsoft.com/en-us/download) installed.
Have [Fantomas](https://fsprojects.github.io/fantomas/docs/end-users/GettingStarted.html) installed for formatting F# code.
Have [Bun](https://bun.sh/docs/installation) installed.
Go to the web app project `cd OpusClassicalWeb`.
Install static assets build chain packages `bun i`.
Build static assets in watch mode `bun run build:css:watch`.
Define environment variables. For development, create `OpusClassicalWeb/.env` file. In production just have env variables defined:
```
CONNECTION_STRING=postgres://user:[email protected]/opusclassical
PUBLIC_IMAGES_URL=https://s3.opusclassical.net
ASPNETCORE_URLS=http://+:4020
```Run the web app in watch mode in other terminal tab `dotnet watch run --no-hot-reload --environment Development`.
## How to test
Run tests `dotnet test`.