Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Feb 7, 2024
1 parent 4a8007c commit 90e0506
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions scripts/install/install-risingwave.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ if [[ "${USE_BREW}" -eq 1 ]]; then
echo "Successfully installed RisingWave using Homebrew."
echo
echo "You can run it as:"
echo " risingwave standalone"
echo " risingwave"
echo
echo "In a separate terminal, you can attach a psql client to the standalone server using:"
echo " psql -h localhost -p 4566 -d dev -U root"
echo
exit 0
fi

Expand All @@ -51,4 +55,12 @@ curl -L "${URL}" | tar -zx || exit 1
chmod +x risingwave
echo
echo "Successfully downloaded the RisingWave binary, you can run it as:"
echo " ./risingwave standalone"
echo " ./risingwave"
echo
echo "In a separate terminal, you can attach a psql client to the standalone server using:"
echo " psql -h localhost -p 4566 -d dev -U root"
echo
echo "To start a fresh cluster, you can just delete the data directories:"
echo " rm -r ~/.risingwave/state_store"
echo " rm -r ~/.risingwave/meta_store"
echo

0 comments on commit 90e0506

Please sign in to comment.