Skip to content

Diagnostic logs persisting #623

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions src/server/install/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,24 @@ If you have not created this file yet, please do so from the provided `.env.temp
```shell
cp .env.template .prod.env
```
Once the necessary variables are configured, you can run the following commands to start the <MainPlatformName /> stack.

Community edition stack:

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

# For enterprise edition
$ mkdir -p mergin-db-enterprise # or wherever you set it to be
$ sh ../common/set_permissions.sh data
$ sh ../common/set_permissions.sh map_data
Enterprise edition stack:

```shell
$ mkdir -p mergin-db-enterprise # database data directory
$ sh ../common/set_permissions.sh data # application internal data directory
$ sh ../common/set_permissions.sh map_data # maps data directory (neccessary for maps)
$ sh ../common/set_permissions.sh diagnostic_logs # directory to persist diagnostic logs (optional)
$ docker-compose -f docker-compose.yml up -d
$ docker-compose -f docker-compose.maps.yml up -d # Run maps stack separately
```
Expand Down
Loading