mirror of
https://github.com/srid/ema.git
synced 2024-11-29 17:46:08 +03:00
980 B
980 B
order |
---|
1 |
Getting Started
As first steps, perform the following before proceeding to the tutorial section below:
- Install Nix1 and Enable Flakes
- Clone the template repository locally
- Run
bin/run
and access the site at http://localhost:9001
(If you are using cabal
, rather than Nix - run ghcid
in place of bin/run
).
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.
{.last} [Next]{.next}, in the tutorial let's try using this template repo to create a basic website.
-
Nix is optional. The template repository will work with plain
cabal
. ↩︎