Skip to content

Commit 9f714b1

Browse files
committed
rework install section for PR #421
1 parent 82e6254 commit 9f714b1

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

src/server/install/index.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,33 @@ Make sure you follow deployment guidelines to <b>ensure any firewalls in your in
3131

3232
Follow these steps to run a local <MainPlatformName /> instance.
3333

34+
Locate yourself on the proper <MainPlatformName /> edition.
35+
```shell
36+
# For community edition
37+
cd deployment/community
38+
39+
# For enterprise edition
40+
cd deployment/enterprise
41+
```
42+
3443
### Start docker containers
3544

3645
Provided that `docker` and `docker-compose` are installed on your host, running <MainPlatformName /> stack should be as simple as running `docker-compose`. However, before doing that you would need to [configure](../environment/) your server setup via environment variables in <GitHubRepo desc=".prod.env" id="MerginMaps/server/blob/master/.prod.env" /> file.
3746

3847
Once configured, you can run:
3948
```shell
49+
# For community edition
4050
$ mkdir -p projects # or wherever you set it to be
4151
$ mkdir -p mergin_db # or wherever you set it to be
42-
$ sudo chown -R 901:999 ./projects/
43-
$ sudo chmod g+s ./projects/
52+
$ sh ../common/set_permissions.sh projects
53+
$ docker-compose -f docker-compose.yml up
54+
55+
# For enterprise edition
56+
$ mkdir -p data # or wherever you set it to be
57+
$ mkdir -p overviews # or wherever you set it to be
58+
$ mkdir -p mergin-db-enterprise # or wherever you set it to be
59+
$ sh ../common/set_permissions.sh projects
60+
$ sh ../common/set_permissions.sh overviews
4461
$ docker-compose -f docker-compose.yml up
4562
```
4663
​​

0 commit comments

Comments
 (0)