OLD | NEW |
(Empty) | |
| 1 cd /home/www-data |
| 2 pwd |
| 3 |
| 4 # Install local (for www-data) versions of carbon and its dependencies. |
| 5 pip install https://github.com/graphite-project/ceres/tarball/master \ |
| 6 --install-option="--prefix=/home/www-data/graphite" \ |
| 7 --install-option="--install-lib=/home/www-data/graphite/lib" |
| 8 pip install whisper --install-option="--prefix=/home/www-data/graphite" \ |
| 9 --install-option="--install-lib=/home/www-data/graphite/lib" |
| 10 pip install carbon --install-option="--prefix=/home/www-data/graphite" \ |
| 11 --install-option="--install-lib=/home/www-data/graphite/lib" |
| 12 |
| 13 # Install graphite-web. |
| 14 if [ -d graphite-web ]; then |
| 15 (cd graphite-web && git pull); |
| 16 else |
| 17 git clone https://github.com/graphite-project/graphite-web.git |
| 18 fi |
| 19 |
| 20 cd graphite-web |
| 21 python setup.py install --prefix=/home/www-data/graphite \ |
| 22 --install-lib=/home/www-data/graphite/lib |
OLD | NEW |