Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1321)

Unified Diff: compute_engine_scripts/monitoring/continue_install.sh

Issue 310253003: Add setup scripts for a Graphite server. (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compute_engine_scripts/monitoring/continue_install.sh
diff --git a/compute_engine_scripts/monitoring/continue_install.sh b/compute_engine_scripts/monitoring/continue_install.sh
new file mode 100644
index 0000000000000000000000000000000000000000..ae4febef5c500b37e6c4936d023502b25d1c8f96
--- /dev/null
+++ b/compute_engine_scripts/monitoring/continue_install.sh
@@ -0,0 +1,22 @@
+cd /home/www-data
+pwd
+
+# Install local (for www-data) versions of carbon and its dependencies.
+pip install https://github.com/graphite-project/ceres/tarball/master \
+ --install-option="--prefix=/home/www-data/graphite" \
+ --install-option="--install-lib=/home/www-data/graphite/lib"
+pip install whisper --install-option="--prefix=/home/www-data/graphite" \
+ --install-option="--install-lib=/home/www-data/graphite/lib"
+pip install carbon --install-option="--prefix=/home/www-data/graphite" \
+ --install-option="--install-lib=/home/www-data/graphite/lib"
+
+# Install graphite-web.
+if [ -d graphite-web ]; then
+ (cd graphite-web && git pull);
+else
+ git clone https://github.com/graphite-project/graphite-web.git
+fi
+
+cd graphite-web
+python setup.py install --prefix=/home/www-data/graphite \
+ --install-lib=/home/www-data/graphite/lib

Powered by Google App Engine
This is Rietveld 408576698