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

Unified Diff: compute_engine_scripts/monitoring/continue_install2.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_install2.sh
diff --git a/compute_engine_scripts/monitoring/continue_install2.sh b/compute_engine_scripts/monitoring/continue_install2.sh
new file mode 100644
index 0000000000000000000000000000000000000000..aa31a204a937768aaae0219226b002ba2d24706d
--- /dev/null
+++ b/compute_engine_scripts/monitoring/continue_install2.sh
@@ -0,0 +1,10 @@
+cd /home/www-data/graphite/
+
+export GRAPHITE_ROOT=/home/www-data/graphite
+export PYTHONPATH=$PYTHONPATH:$GRAPHITE_ROOT/webapp:$GRAPHITE_ROOT/lib
+
+# Create and/or update the database schema.
+django-admin.py syncdb --settings=graphite.settings
+
+# Start carbon.
+$GRAPHITE_ROOT/bin/carbon-cache.py start

Powered by Google App Engine
This is Rietveld 408576698