From d50b950b9320a31b3da23326ed4a6692f3aa9c7b Mon Sep 17 00:00:00 2001 From: Simon Knox Date: Tue, 18 Apr 2023 10:11:34 +0000 Subject: Add custom port option for make view --- doc/setup.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc') 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`: -- cgit v1.2.3