Skip to content

Instantly share code, notes, and snippets.

@olim7t
Last active December 12, 2015 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olim7t/4752972 to your computer and use it in GitHub Desktop.
Save olim7t/4752972 to your computer and use it in GitHub Desktop.
Install Graphite 0.9.10 on a Mac
# Install graphite 0.9.10 on a Mac (Python 2.6 preinstalled)
# Gathered from my notes, might not be 100% accurate
brew install py2cairo
sudo pip install Django==1.3
sudo pip install django-tagging
sudo pip install carbon
sudo pip install whisper
sudo pip install graphite-web
sudo pip install tagging # not sure if really useful
# configure carbon
cd /opt/graphite
sudo mv conf/carbon.conf.example conf/carbon.conf
sudo mv conf/storage-schemas.conf.example conf/storage-schemas.conf
# configure graphite
cd /opt/graphite/webapp/graphite
sudo python manage.py syncdb
# start carbon
cd /opt/graphite
sudo bin/carbon-cache.py start
# start graphite:
cd /opt/graphite/webapp/graphite
cat >run.sh <<EOF
export PYTHONPATH=/usr/local/lib/python2.6/site-packages
python manage.py runserver
EOF
sudo chmod +x run.sh
sudo ./run.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment