The best way to get started with Ema is via Nix,1 using the template repository:
- Install Nix1 and enable Flakes
- Clone the template repository locally
-
Run
nix develop -c , runand access the site at http://localhost:9001
Step 3 starts the Ema Live Server displaying a simple website. Try modifying the HTML DSL in the Haskell source ./src/Main.hs, and observe how the browser-view updates instantly.
Next, in the tutorial series we will create a trivial site from scratch and then evolve it towards a feature-rich one.