| 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
|
|
|