Awesome
Homebrew-Timeplus
This guide provides an experimental method for installing Proton using Homebrew.
Please follow the steps carefully.
Note that all actions can be performed without sudo
privileges, and the data will be stored in the current path ./proton-data/
.
Installation
Step 1: Add Homebrew Tap and Install Proton
brew tap timeplus-io/timeplus
brew install proton
Starting the Server and Client
Step 2: Launch the Proton Server
In the current terminal, enter:
proton server
Step 3: Connect to the Proton Server
Open another terminal and enter:
proton client -h 127.0.0.1
Running Queries
Step 4: Execute Streaming SQL
For SQL queries and examples, refer to the official documentation. For more intricate use cases and demonstrations, visit the showcases section.
Shutting Down
Step 5: Terminate the Proton Server
To stop the server, use Ctrl+C
in the server terminal.
Upgrade/Delete
Step 6: Upgrade to latest version
To upgrade to new version of Proton, first make sure the proton server is stopped. Then run
brew update
brew upgrade proton
Step 7: Uninstall Proton
We are sorry to see you go. Please share your feedback in our community slack.
To uninstall Proton, first make sure the proton server is stopped. Then run
brew uninstall proton