Getting Started

As first steps, perform the following before proceeding to the tutorial section below:

  1. Install Nix (see platform-specific notes here)
  2. Enable Flakes
  3. Clone the template repository locally
  4. Run bin/run and access the site at http://localhost:9001

That should start the Ema dev server displaying a replica of ema.srid.ca. 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.