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-fsharp


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

Last synced: about 1 month ago
JSON representation

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`.