Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

macOS Quick Setup

Bohan Zhang edited this page Nov 22, 2019 · 3 revisions

macOS Quick Setup

  • Platform: macOS 10.12+ (64-bit)
  • Python3: OtterTune requires Python 3.6+
    brew update
    brew install python3
    
    You can also use virtual environments like Pipenv & Virtual Environments to install Python3

Clone OtterTune repo

git clone https://github.com/cmu-db/ottertune.git
cd ottertune/server/website

Install MySQL

brew install mysql

Install Rabbitmq

brew install rabbitmq

The RabbitMQ server scripts are installed into /usr/local/sbin. This is not automatically added to your path, so you may wish to add

PATH=$PATH:/usr/local/sbin

to your .bash_profile or .profile. The server can then be started with rabbitmq-server.

Install the packages

pip3 install -r requirements.txt