Skip to content

Commit f1b766c

Browse files
authored
Merge pull request #11 from haiwen/opt_env_yml
Opt env yml
2 parents 85a9b74 + ac6c81f commit f1b766c

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Manual for SeaSearch
44

5-
The website: https://haiwen.github.io/seasearch-docs/
5+
The website: https://seasearch-manual.seafile.com
66

77
## Serve docs locally
88

manual/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
seasearch-manual.seafile.com

manual/repo/env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ SS_S3_AWS_REGION=us-east-1
2929
SS_S3_SSE_C_KEY=<your SSE-C key>
3030

3131
# log
32-
SeaSearch_LOG_TO_STDOUT=false
32+
SS_LOG_TO_STDOUT=false
3333
SS_LOG_OUTPUT=true
34-
SS_LOG_LEVEL=debug
34+
SS_LOG_LEVEL=info
3535

3636
# initial
3737
INIT_SS_ADMIN_USER=<admin-username>

manual/repo/seasearch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ services:
3939
- ZINC_CLUSTER_MANAGER_PORT=${SS_CLUSTER_MANAGER_PORT:-4081}
4040
- ZINC_CLUSTER_MANAGER_ETCD_ENDPOINTS=${SS_CLUSTER_MANAGER_ETCD_ENDPOINTS:-127.0.0.1:2379}
4141
- ZINC_CLUSTER_MANAGER_ETCD_PREFIX=${SS_CLUSTER_MANAGER_ETCD_PREFIX:-/zinc}
42-
- SeaSearch_LOG_TO_STDOUT=${SeaSearch_LOG_TO_STDOUT:-false}
42+
- SS_LOG_TO_STDOUT=${SS_LOG_TO_STDOUT:-false}
4343
- ZINC_LOG_OUTPUT=${SS_LOG_OUTPUT:-true}
4444
- ZINC_LOG_DIR=${SS_LOG_DIR:-/opt/seasearch/data/log}
4545
- ZINC_LOG_LEVEL=${SS_LOG_LEVEL:-debug}

manual/usage/deploy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ You can download the `.yml` and `.env` files by following commands:
1717
```bash
1818
mkdir /opt/seasearch
1919
cd /opt/seasearch
20-
wget https://haiwen.github.io/seasearch-docs/repo/caddy.yml
21-
wget https://haiwen.github.io/seasearch-docs/repo/seasearch.yml
22-
wget -O .env https://haiwen.github.io/seasearch-docs/repo/env
20+
wget https://seasearch-manual.seafile.comrepo/caddy.yml
21+
wget https://seasearch-manual.seafile.comrepo/seasearch.yml
22+
wget -O .env https://seasearch-manual.seafile.comrepo/env
2323
```
2424

2525
## Modify .env file

mkdocs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
site_name: SeaSearch Manual
22
site_author: seafile
33
docs_dir: ./manual
4-
site_url: https://haiwen.github.io/seasearch-docs/
4+
site_url: https://seasearch-manual.seafile.com
55

66
repo_name: haiwen/seasearch-docs
77
repo_url: https://github.com/haiwen/seasearch-docs/
@@ -56,12 +56,12 @@ nav:
5656
- Deployment and Usage:
5757
- Overview: usage/overview.md
5858
- Deploy SeaSearch: usage/deploy.md
59-
- Use and Access SeaSearch APIs: usage/use_and_access_seasearch_apis.md
59+
- Use and access SeaSearch APIs: usage/use_and_access_seasearch_apis.md
6060
- Https: usage/https.md
6161
- Configuration: config/README.md
6262
- SeaSearch API:
6363
- Overview: api/overview.md
6464
- API Authentication: api/authentication.md
6565
- Index management: api/index_management.md
66-
- Document Operation: api/document_operation.md
67-
- Search Document: api/search_document.md
66+
- Document operation: api/document_operation.md
67+
- Search document: api/search_document.md

0 commit comments

Comments
 (0)