diff options
author | Mike Kozono <mkozono@gitlab.com> | 2021-09-01 20:18:37 +0300 |
---|---|---|
committer | Mike Kozono <mkozono@gitlab.com> | 2021-09-01 20:23:08 +0300 |
commit | 1e9157a3c34f41a6a4ef34b1635855005313a74c (patch) | |
tree | 92d313d3d44c880047692c6f234c6dcce9fefc55 | |
parent | c4600996407b42a342e88b095fffefaf91063fb7 (diff) |
docs: Avoid errors on startup
Example errors:
- "reading secret file: open /Users/mike/Dev/gdk/gitlab-pages-secret # run make gitlab-pages-secret in your : no such file or directory"
- "chdir /Users/mike/Dev/gdk/gitlab/shared/pages # absolute path inside : no such file or directory"
-rw-r--r-- | doc/development.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/development.md b/doc/development.md index 45b84767..3a540b97 100644 --- a/doc/development.md +++ b/doc/development.md @@ -134,11 +134,13 @@ This is an example of developing GitLab Pages inside the [GitLab Development Kit # the port where you want Pages to listen to, must match the port in `gdk.yml` listen-http=:3010 artifacts-server=http://127.0.0.1.nip.io:3000/api/v4 - pages-root=$GDK_ROOT/gitlab/shared/pages # absolute path inside $GDK_ROOT + # absolute path inside $GDK_ROOT + pages-root=$GDK_ROOT/gitlab/shared/pages pages-domain=pages.127.0.0.1.nip.io internal-gitlab-server=http://127.0.0.1.nip.io:3000 gitlab-server=http://127.0.0.1.nip.io:3000 - api-secret-key=$GDK_ROOT/gitlab-pages-secret # run make gitlab-pages-secret in your $GDK_ROOT + # run make gitlab-pages-secret in your $GDK_ROOT + api-secret-key=$GDK_ROOT/gitlab-pages-secret domain-config-source=gitlab # preferred way, requires api-secret-key and internal-gitlab-server log-verbose=true ## the following settings are only needed if you want to test auth for private projects |