Last active
December 12, 2015 09:39
-
-
Save olim7t/4752972 to your computer and use it in GitHub Desktop.
Install Graphite 0.9.10 on a Mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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