As first steps, perform the following before proceeding to the tutorial section below:
- Install Nix (see platform-specific notes here)
- Enable Flakes
- Clone the template repository locally
bin/runand access the site at http://localhost:9001
That should start the Ema dev server displaying a simple website. Go ahead and try modifying either the Markdown content in
./content or the Haskell source in
./src/Main.hs, and observe how the web view updates instantly.
Next, in the tutorial let’s try using this template repo to create a basic website.