Skip to content

Instantly share code, notes, and snippets.

@komamitsu
Created June 1, 2024 03:48
Show Gist options
  • Save komamitsu/39a14cc13b1cd560cf53792c5d55e3d9 to your computer and use it in GitHub Desktop.
Save komamitsu/39a14cc13b1cd560cf53792c5d55e3d9 to your computer and use it in GitHub Desktop.
How to build and run YugabyteDB on macOS

Download the source code

git clone https://github.com/yugabyte/yugabyte-db.git
cd yugabyte-db

Build YugabyteDB

./yb_build.sh --no-tests

Run YugabyteDB

./bin/yugabyted start --background=false --master_flag="ysql_log_min_messages=DEBUG" --tserver_flags="ysql_log_min_messages=DEBUG" 

Check the log file

cd ~/var/data/yb-data
view master/logs/yb-master.xxxxx.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment