Skip to content

Commit 17374cc

Browse files
committed
Diagnostic logs persisting
1 parent e4fd463 commit 17374cc

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

src/server/install/index.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,24 @@ If you have not created this file yet, please do so from the provided `.env.temp
5454
```shell
5555
cp .env.template .prod.env
5656
```
57+
Once the necessary variables are configured, you can run the following commands to start the <MainPlatformName /> stack.
58+
59+
Community edition stack:
5760

58-
Once configured, you can run:
5961
```shell
60-
# For community edition
61-
$ mkdir -p mergin_db # or wherever you set it to be
62-
$ sh ../common/set_permissions.sh projects
62+
$ mkdir -p mergin_db # database data directory
63+
$ sh ../common/set_permissions.sh projects # application internal data directory
64+
$ sh ../common/set_permissions.sh diagnostic_logs # directory to persist diagnostic logs (optional)
6365
$ docker-compose -f docker-compose.yml up -d
66+
```
6467

65-
# For enterprise edition
66-
$ mkdir -p mergin-db-enterprise # or wherever you set it to be
67-
$ sh ../common/set_permissions.sh data
68-
$ sh ../common/set_permissions.sh map_data
68+
Enterprise edition stack:
69+
70+
```shell
71+
$ mkdir -p mergin-db-enterprise # database data directory
72+
$ sh ../common/set_permissions.sh data # application internal data directory
73+
$ sh ../common/set_permissions.sh map_data # maps data directory (neccessary for maps)
74+
$ sh ../common/set_permissions.sh diagnostic_logs # directory to persist diagnostic logs (optional)
6975
$ docker-compose -f docker-compose.yml up -d
7076
$ docker-compose -f docker-compose.maps.yml up -d # Run maps stack separately
7177
```

0 commit comments

Comments
 (0)