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 17b73ad commit e1657e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/install/install-risingwave.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ if [ -z "$USE_BREW" ]; then
fi

############# Setup data directories
echo
echo "Setting up data directories."
echo
set +x
mkdir -p "${HOME}/.risingwave/data/state_store"
mkdir -p "${HOME}/.risingwave/data/meta_store"
Expand All @@ -71,6 +73,12 @@ if [ "${USE_BREW}" -eq 1 ]; then
echo " psql -h localhost -p 4566 -d dev -U root"
echo
echo
echo "To start a fresh cluster, you can just delete the data directory contents:"
echo
echo " rm -r ~/.risingwave/state_store/*"
echo " rm -r ~/.risingwave/meta_store/*"
echo
echo
echo "To view available options, run:"
echo
echo " ./risingwave single-node --help"
Expand Down

0 comments on commit e1657e4

Please sign in to comment.