2024-06-06 09:29:50 +02:00
|
|
|
# acms
|
|
|
|
|
|
|
|
|
|
an automatically schema-versioned content management system
|
|
|
|
|
|
|
|
|
|
## develop
|
|
|
|
|
|
|
|
|
|
prepare test data:
|
|
|
|
|
|
2024-10-11 15:14:30 +02:00
|
|
|
```shell
|
2024-06-06 09:29:50 +02:00
|
|
|
cp -r samples/blog .
|
|
|
|
|
cd blog
|
|
|
|
|
git init
|
|
|
|
|
git add .
|
|
|
|
|
git commit -m 'first commit'
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
run frontend:
|
|
|
|
|
|
2024-10-11 15:14:30 +02:00
|
|
|
```shell
|
2024-06-06 09:29:50 +02:00
|
|
|
cd frontend
|
|
|
|
|
reload
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
run backend:
|
|
|
|
|
|
2024-10-11 15:14:30 +02:00
|
|
|
```shell
|
2024-10-11 16:07:35 +02:00
|
|
|
cabal run backend -- serve --port 8081 ./blog
|
2024-06-06 09:29:50 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
open browser at `http://localhost:8080`.
|