Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins committed Jun 20, 2024
1 parent 20a191f commit ee9e806
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ Flags:
--mongo-connection-uri string MongoDB's connection URI
--mongo-ping-timeout duration Mongo DB's ping timeout (default 5s)
--mongo-yorkie-database string Yorkie's database name in MongoDB (default "yorkie-meta")
--profiling-port int Profiling port (default 11102)
--profiling-port int Profiling port (default 8081)
--rpc-cert-file string RPC certification file's path
--rpc-key-file string RPC key file's path
--rpc-max-requests-bytes uint Maximum client request size in bytes the server will accept. (default 4194304)
--rpc-port int RPC port (default 11101)
--rpc-port int RPC port (default 8080)
```
### Login
Expand All @@ -127,7 +127,7 @@ You can check the context of the CLI using the `context` subcommand:
$ yorkie context ls
CURRENT RPC ADDR INSECURE TOKEN
api.yorkie.dev:443 false eyJhbGciOi...DuhaUgofYg
* localhost:11101 true eyJhbGciOi...FUT3js73Mw
* localhost:8080 true eyJhbGciOi...FUT3js73Mw
```
If you want to log out from the server, you can use the `logout` subcommand:
Expand Down
12 changes: 6 additions & 6 deletions docs/self-hosted-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Let's start a Server with the CLI. You can start a Server with the following com
```bash
$ yorkie server
backend created: id: c6ljcdl94818baveba8g, rpc: localhost:11101: db: memory
serving RPC on 11101
serving profiling on 11102
backend created: id: cppoq5huevgut6tjo8qg, db: memory
serving RPC on 8080
serving profiling on 8081
```
The Server handles administrative requests such as project maintenance, and it continues to run until it's told to quit with termination commands such as Ctrl+C.
The Server stores its data using an in-memory DB, which does not provide durability by default.
Expand All @@ -37,9 +37,9 @@ Then, start a Yorkie Server with `--mongo-connection-uri` flag to connect the Mo
$ yorkie server --mongo-connection-uri mongodb://localhost:27017
MongoDB connected, URI: mongodb://localhost:27017, DB: yorkie-meta
backend created: id: c6ljibt948102kkt9neg, rpc: localhost:11101: db: mongodb://localhost:27017
serving profiling on 11102
serving RPC on 11101
backend created: id: cppoqe9uevguvlsehcg0, rpc: mongodb://localhost:27017
serving profiling on 8081
serving RPC on 8080
```
### Monitoring
Expand Down

0 comments on commit ee9e806

Please sign in to comment.