Skip to content

Commit d475056

Browse files
author
Jove Zhong
committed
further clean up markdown files, refine Cargo.toml
1 parent 50fd4df commit d475056

File tree

5 files changed

+27
-80
lines changed

5 files changed

+27
-80
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ rust-version = "1.65"
66
readme = "README.md"
77
license = "Apache-2.0"
88

9-
authors = ["Marvin Hansen <marvin.hansen@gmail.com>", ]
10-
description = "Client for the Proton / TimePlus SQL streaming engine"
9+
authors = ["Marvin Hansen <marvin.hansen@gmail.com>"]
10+
description = "Client for Timeplus Proton, a streaming SQL engine"
1111
documentation = "https://docs.rs/proton_client"
1212
homepage = "https://github.com/timeplus-io/proton-rust-client"
1313
repository = "https://github.com/timeplus-io/proton-rust-client"
14-
keywords = ["proton", "timeplus", "streaming", "database", "timeseries"]
14+
keywords = ["proton", "timeplus", "streaming", "sql", "database", "timeseries"]
1515

1616
[lib]
1717
name = "proton_client"
@@ -35,10 +35,10 @@ path = "examples/remove/main.rs"
3535

3636
[dependencies]
3737
clickhouse = { version = "0.11", features = ["watch"] }
38-
clickhouse-derive = { version = "0.1"}
38+
clickhouse-derive = { version = "0.1" }
3939
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
4040
serde = { version = "1.0.196", features = ["derive"] }
4141

4242

4343
[dev-dependencies]
44-
clickhouse = { version = "0.11", features = ["test-util"] }
44+
clickhouse = { version = "0.11", features = ["test-util"] }

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2016-2022 ClickHouse, Inc.
189+
Copyright 2021-2024 Timeplus, Inc.
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Proton is a streaming SQL engine, a fast and lightweight alternative to Apache F
1010

1111
The initial version(0.1.0) of the client was written by [Marvin Hansen](https://github.com/marvin-hansen). Thanks for the contribution.
1212

13+
This client uses https://crates.io/crates/clickhouse as a dependency.
14+
1315
## Install Proton
1416

1517
### As a single binary

SECURITY.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

examples/README_EXAMPLES.md

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,30 @@
11

22

3-
# Examples for Rust Client for Proton
4-
3+
# Examples for Rust Client for Proton
54

6-
## Install proton
75

8-
```
9-
brew install proton
10-
```
6+
## Install Proton
7+
8+
### As a single binary
9+
10+
On Linux or Mac, you can install it via `curl https://install.timeplus.com | sh`
11+
12+
On Mac, you can also install it via `brew install proton`
1113

12-
1. Start the Proton server:
13-
$ proton server start
14+
After you get the `proton` binary, you can start the Proton server via `proton server start`
1415

15-
2. In a separate terminal, connect to the server:
16-
$ proton client
17-
(Note: If you encounter a 'connection refused' error, use: proton client --host 127.0.0.1)
16+
In a separate terminal, connect to the server via `proton client` (Note: If you encounter a 'connection refused' error, use: proton client --host 127.0.0.1)
1817

19-
3. To terminate the server, press ctrl+c in the server terminal.
18+
### As a Docker container
19+
20+
```bash
21+
docker run -d --pull always --name proton ghcr.io/timeplus-io/proton:latest
22+
```
23+
24+
Proton is automatically started. Open the terminal of the container, and run `proton client`
2025

21-
For detailed usage and more information, check out the Timeplus documentation:
22-
https://docs.timeplus.com/
26+
27+
For detailed usage and more information, check out the documentation: https://docs.timeplus.com/proton
2328

2429

2530
## Install ProtonClient
@@ -123,4 +128,3 @@ Expected output
123128
[prepare]: Delete Stream
124129
[prepare]: Stop
125130
```
126-

0 commit comments

Comments
 (0)