-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Local development setup ‐ macOS Sonoma (14.6)
Justin Clift edited this page Sep 4, 2024
·
9 revisions
These are the steps for setting up a development environment on macOS Sonoma (14.6) ARM64.
The asdf runtime version manager is used for installing Python and NodeJS.
Use the standard Homebrew installation approach:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ brew install mysql-client
$ echo '# Add the MySQL client to the path, for Redash' >> ~/.zshrc
$ echo 'PATH=$PATH:/opt/homebrew/opt/mysql-client/bin' >> ~/.zshrc
$ brew install coreutils curl git
$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1
$ echo '. "$HOME/.asdf/asdf.sh"' >> ~/.zshrc
$ echo 'fpath=(${ASDF_DIR}/completions $fpath)' >> ~/.zshrc
$ echo 'autoload -Uz compinit && compinit' >> ~/.zshrc
Then start a new terminal session so the above change is active.
Download and install Docker Desktop
Allow Rosetta to be installed during the installation where it asks for confirmation.
$ docker run hello-world
Probably just need to follow the Debian 12 install approach from here onwards?
- Cloning Redash source works
- Installing Python using asdf works
- Creating Python virtual environment works
- Installing the Python dependencies for Redash throws errors. Looks like some missing prerequisites?
-
MySQL client library. Fixed - pymssql. MS SQL Server client library?
- What else?
-
Further stuff is TBD