Cavefish server (HTTP server) is a sub-project of Cavefish:
- repository overview: ../../../Readme.md
- prototype build config: ../../cabal.project
Using
nixis the most convenient way to install all dependencies. Non nix user, may refer to the github action script to build their development environment.
From packages/server/:
nix developcabal clean && cabal update
cabal build cavefish-serverTo execute the server:
cabal run cavefish-server:exe:cavefish-serverOr you may invoke the executable:
$(cabal exec which cavefish-server)For continuous builds, you may use watchexec
watchexec --clear -w . 'cabal build cavefish-server && cabal test cavefish-tests'TBD