Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 891 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 891 Bytes

TL;DR:

./update-platform
nix-build default.nix
./result/bin/serve

Visit http://localhost:8080/static/index.html in your browser.

Slightly longer version

This is a very barebones scaffold designed to help understanding how a servant/reflex project might be structured using Nix and reflex-platform using minimal magic.

You should start by running ./update-platform to get an up-to-date checkout of reflex-platform. If you haven't used try-reflex directly before (which I recommend,) you may also want to read the notes on binary caches, to avoid having to build everything yourself.

Afterwards, you can build the entire project with nix-build default.nix and explore the result symlink. You can also build subprojects individually. Have a go at it!