aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: f175afaadc73c12eecdabc91deae78d84c4dcd87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# acms

an automatically schema-versioned content management system

## develop

prepare test data:

```shell
cp -r samples/blog .
cd blog
git init
git add .
git commit -m 'first commit'
```

run frontend:

```shell
cd frontend
reload
```

(to cross-compile the frontend to javascript, run: `nix-build -A frontend`.)

run backend:

```shell
cabal run backend -- serve --port 8081 ./blog
```

open browser at `http://localhost:8080`.