-
-
Save zzzhc/e2f84ba9b91f9bd9a755 to your computer and use it in GitHub Desktop.
Revisions
-
relaxdiego revised this gist
Nov 19, 2013 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -74,6 +74,13 @@ Check the debug output here: http://localhost:8080/render ``` # Optional convenience aliases Add this to your .bashrc or .bash_profile: ``` alias carbon='python /opt/graphite/bin/carbon-cache.py' alias graphite-web='python /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite' ``` # Additional resources - http://graphite.wikidot.com/installation -
relaxdiego revised this gist
Nov 19, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Follow these steps to install graphite on OS X Mavericks. # Install dependencies ## Install Cairo and friends ``` bash brew install cairo brew install py2cairo -
relaxdiego revised this gist
Nov 19, 2013 . 1 changed file with 2 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,19 +1,15 @@ Follow these steps to install graphite on OS X Mavericks. # Prerequisites - Homebrew - Python 2.7 - Git # Install dependencies ## Install Cair and friends ``` bash brew install cairo brew install py2cairo ``` -
relaxdiego revised this gist
Nov 19, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Follow these steps to install graphite on OS X Mavericks. # Prerequisites - Python 2.7 -
relaxdiego revised this gist
Nov 19, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -19,7 +19,7 @@ brew install py2cairo ## Install Django ``` bash pip install Django==1.5 pip install django-tagging ``` -
relaxdiego revised this gist
Nov 19, 2013 . 1 changed file with 6 additions and 24 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -13,29 +13,8 @@ brew install cairo ``` ## Install py2cairo ``` bash brew install py2cairo ``` ## Install Django @@ -46,9 +25,12 @@ pip install django-tagging # Install Graphite ``` bash sudo pip install carbon pip install whisper sudo pip install graphite-web sudo pip install Twisted==11.1.0 sudo chown -R <your username>:staff /opt/graphite ``` # Configure graphite -
surjikal revised this gist
May 17, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -75,7 +75,7 @@ python /opt/graphite/bin/carbon-cache.py start # Start Graphite ``` bash python /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite ``` # Hope that it works! -
surjikal revised this gist
May 17, 2012 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -70,12 +70,12 @@ python manage.py syncdb # Start carbon ``` bash python /opt/graphite/bin/carbon-cache.py start ``` # Start Graphite ``` bash python ./opt/graphite/bin/run-graphite-devel-server.py /opt/graphite ``` # Hope that it works! -
surjikal revised this gist
May 17, 2012 . 1 changed file with 2 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -55,18 +55,14 @@ pip install graphite-web ``` bash cp /opt/graphite/conf/carbon.conf{.example,} cp /opt/graphite/conf/storage-schemas.conf{.example,} ``` # Create default database ``` bash cd /opt/graphite/webapp/graphite # Modify this file to change database backend (default is sqlite). cp local_settings.py{.example,} # Initialize database python manage.py syncdb -
surjikal revised this gist
May 17, 2012 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -55,6 +55,10 @@ pip install graphite-web ``` bash cp /opt/graphite/conf/carbon.conf{.example,} cp /opt/graphite/conf/storage-schemas.conf{.example,} # Modify this file to change database backend (default is sqlite). cp /opt/graphite/webapp/graphite/local_settings.py{.example,} ``` # Create default database -
surjikal revised this gist
May 17, 2012 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -86,6 +86,7 @@ http://localhost:8080 ``` You should see this if it works properly:  If you get a broken image, it most likely means that something is wrong py2cairo and cairo. -
surjikal revised this gist
May 17, 2012 . 1 changed file with 2 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -53,15 +53,8 @@ pip install graphite-web # Configure graphite ``` bash cp /opt/graphite/conf/carbon.conf{.example,} cp /opt/graphite/conf/storage-schemas.conf{.example,} ``` # Create default database -
surjikal revised this gist
May 17, 2012 . No changes.There are no files selected for viewing
-
surjikal revised this gist
May 17, 2012 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ Follow these steps to install graphite on OS X Lion. # Prerequisites - Python 2.7 - Brew -
surjikal revised this gist
May 17, 2012 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -86,15 +86,19 @@ python ./bin/run-graphite-devel-server.py /opt/graphite # Hope that it works! Go to: ``` http://localhost:8080 ``` You should see this if it works properly:  If you get a broken image, it most likely means that something is wrong py2cairo and cairo. Check the debug output here: ``` http://localhost:8080/render ``` # Additional resources -
surjikal revised this gist
May 17, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -94,7 +94,7 @@ You should see this if it works properly: If you get a broken image, it most likely means that something is wrong py2cairo and cairo. Check the debug output here: (http://localhost:8080/render) # Additional resources -
surjikal revised this gist
May 17, 2012 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -85,12 +85,16 @@ python ./bin/run-graphite-devel-server.py /opt/graphite # Hope that it works! Go to: http://localhost:8080 You should see this if it works properly:  If you get a broken image, it most likely means that something is wrong py2cairo and cairo. Check the debug output here: http://localhost:8080/render # Additional resources -
surjikal revised this gist
May 17, 2012 . 1 changed file with 4 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -84,14 +84,13 @@ python ./bin/run-graphite-devel-server.py /opt/graphite ``` # Hope that it works! Go to: http://localhost:8080 You should see this if it works properly:  If you get a broken image, it most likely means that something is wrong py2cairo and cairo. Got to http://localhost:8080/render to see the debug output. # Additional resources -
surjikal revised this gist
May 17, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -91,7 +91,7 @@ http://localhost:8080 You should see this if its working correctly:  Otherwise, you will get a broken image. This means that something is probably wrong py2cairo and cairo. Got to [http://localhost:8080/render] to see. # Additional resources -
surjikal revised this gist
May 17, 2012 . 1 changed file with 3 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,8 +10,6 @@ brew install cairo ``` ## Install py2cairo Clone the repo: @@ -90,9 +88,10 @@ python ./bin/run-graphite-devel-server.py /opt/graphite http://localhost:8080 ``` You should see this if its working correctly:  Otherwise, you will get a broken image. This means that something is probably wrong py2cairo and cairo. Got to _http://localhost:8080_ # Additional resources -
surjikal revised this gist
May 17, 2012 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,6 +10,8 @@ brew install cairo ```  ## Install py2cairo Clone the repo: -
surjikal revised this gist
May 17, 2012 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ # Prerequisites - Python 2.7 - Brew - Git # Install dependencies -
surjikal revised this gist
May 17, 2012 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ # Prerequisites - Python 2.7 - Brew # Install dependencies -
surjikal revised this gist
May 17, 2012 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ # Prerequisites - Python 2.7 # Install dependencies ## Install Cairo -
surjikal revised this gist
May 17, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -75,7 +75,7 @@ python ./bin/carbon-cache.py start # Start Graphite ``` bash python ./bin/run-graphite-devel-server.py /opt/graphite ``` # Hope that it works! -
surjikal revised this gist
May 17, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -16,7 +16,7 @@ cd py2cairo We need to set up a bunch of environment variables: ``` bash export PYTHONPATH='/System/Library/Frameworks/Python.framework/Versions/2.7' export LD_LIBRARY_PATH='$PYTHONPATH/:$PYTHONPATH/lib/:$LD_LIBRARY_PATH' export LINKFLAGS='-search_dylibs_first -L /System/Library/Frameworks/Python.framework/Versions/2.7/lib/' export ARCHFLAGS='-arch x86_64' export CC='/usr/bin/gcc' -
surjikal revised this gist
May 17, 2012 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -16,8 +16,7 @@ cd py2cairo We need to set up a bunch of environment variables: ``` bash export PYTHONPATH='/System/Library/Frameworks/Python.framework/Versions/2.7' export LD_LIBRARY_PATH='$PYTHONPATH/:$PYTHONPATH/lib:$LD_LIBRARY_PATH' export LINKFLAGS='-search_dylibs_first -L /System/Library/Frameworks/Python.framework/Versions/2.7/lib/' export ARCHFLAGS='-arch x86_64' export CC='/usr/bin/gcc' -
surjikal revised this gist
May 17, 2012 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,9 +6,11 @@ brew install cairo ``` ## Install py2cairo Clone the repo: ``` bash git clone git://git.cairographics.org/git/py2cairo cd py2cairo ``` We need to set up a bunch of environment variables: @@ -22,7 +24,7 @@ export CC='/usr/bin/gcc' export PKG_CONFIG_PATH='/usr/local/Cellar/cairo/1.10.2/lib/pkgconfig/' ``` Then we can proceed with the installation: ``` bash python waf clean python waf configure --prefix=$PYTHONPATH -
surjikal revised this gist
May 17, 2012 . 1 changed file with 8 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,20 +7,24 @@ brew install cairo ## Install py2cairo ``` bash # Clone the repo git clone git://git.cairographics.org/git/py2cairo ``` We need to set up a bunch of environment variables: ``` bash export PYTHONPATH='/System/Library/Frameworks/Python.framework/Versions/2.7' export LD_LIBRARY_PATH='$PYTHONPATH/:$LD_LIBRARY_PATH' export LD_LIBRARY_PATH='$PYTHONPATH/lib:$LD_LIBRARY_PATH' export LINKFLAGS='-search_dylibs_first -L /System/Library/Frameworks/Python.framework/Versions/2.7/lib/' export ARCHFLAGS='-arch x86_64' export CC='/usr/bin/gcc' export PKG_CONFIG_PATH='/usr/local/Cellar/cairo/1.10.2/lib/pkgconfig/' ``` Then we can proceed with the installation ``` bash python waf clean python waf configure --prefix=$PYTHONPATH python waf build python waf install -
surjikal revised this gist
May 17, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ # Install dependencies ## Install Cairo @@ -9,6 +8,7 @@ brew install cairo ## Install py2cairo ``` bash git clone git://git.cairographics.org/git/py2cairo cd py2cairo python waf clean
NewerOlder