Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Knox <simon@gitlab.com>2023-04-18 13:11:34 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2023-04-18 13:11:34 +0300
commitd50b950b9320a31b3da23326ed4a6692f3aa9c7b (patch)
tree2d581112f7eca7490e0976a2c6dc37c51107107e /doc
parent7c5b1e60759f12c73bff1bd5b02ae8359025461a (diff)
Add custom port option for make view
Diffstat (limited to 'doc')
-rw-r--r--doc/setup.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/setup.md b/doc/setup.md
index 44892786..73a255ea 100644
--- a/doc/setup.md
+++ b/doc/setup.md
@@ -232,7 +232,13 @@ error for macOS:
You can encounter this error if you run `make view` whilst running the [GitLab Development Kit (GDK)](https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/index.md) server on the same port, which is `3000` in this example.
-To resolve this error,
+To resolve this error, specify a custom port with:
+
+```shell
+make view PORT=4000
+```
+
+Alternatively, you can
[configure GDK](https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/configuration.md#notable-settings)
to use another port, for example, `3001`: