소스 검색

Clarify cwd

Manav Rathi 1 년 전
부모
커밋
3eda263d26
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      docs/docs/self-hosting/guides/custom-server/index.md

+ 5 - 2
docs/docs/self-hosting/guides/custom-server/index.md

@@ -25,10 +25,13 @@ configure the endpoint the app should be connecting to.
 > You can download the CLI from
 > You can download the CLI from
 > [here](https://github.com/ente-io/ente/releases?q=tag%3Acli-v0)
 > [here](https://github.com/ente-io/ente/releases?q=tag%3Acli-v0)
 
 
-Define a config.yaml and put it either in the same directory as CLI or path
-defined in env variable `ENTE_CLI_CONFIG_PATH`
+Define a config.yaml and put it either in the same directory as where you run
+the CLI from ("current working directory"), or in the path defined in env
+variable `ENTE_CLI_CONFIG_PATH`:
 
 
 ```yaml
 ```yaml
 endpoint:
 endpoint:
     api: "http://localhost:8080"
     api: "http://localhost:8080"
 ```
 ```
+
+(Another [example](https://github.com/ente-io/ente/blob/main/cli/config.yaml.example))