summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Maia <patrickjourdanmaia@gmail.com>2014-12-16 21:39:29 +0000
committerPatrick Maia <patrickjourdanmaia@gmail.com>2014-12-16 21:39:29 +0000
commit197f9668563cb40a6f672fddb8df95abe06592f2 (patch)
tree7820ecd729c37dcec8cf80457b41a3bd57fadaf3
parent614b749b9813ed9bef0bc1f70ea223ca86927df4 (diff)
Card #197 - small changes in installation instructions and scripts
-rw-r--r--README.md2
-rwxr-xr-xinstall-pixelated.sh3
-rw-r--r--provisioning/provision.sh4
3 files changed, 3 insertions, 6 deletions
diff --git a/README.md b/README.md
index f529d8e0..1854d5df 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ The User Agent has 2 components:
Dependencies are: node, npm, compass (ruby), virtualenv, git
-* To install the dependencies on debian/ubuntu you need to run `sudo apt-get install nodejs npm ruby virtualenv git` and then `sudo gem install compass`
+* To install the dependencies on debian/ubuntu you need to run `sudo apt-get install git nodejs-legacy npm python-dev python-virtualenv libffi-dev g++ rng-tools ruby-dev` and then `sudo gem install compass`
* Next step is cloning the repository with `git clone https://github.com/pixelated-project/pixelated-user-agent.git`
diff --git a/install-pixelated.sh b/install-pixelated.sh
index 22ed9b2a..b6442bfb 100755
--- a/install-pixelated.sh
+++ b/install-pixelated.sh
@@ -32,10 +32,9 @@ function check_installed() {
fi
}
-for dependency in node npm ruby virtualenv git gpg; do
+for dependency in node npm ruby virtualenv git gpg compass; do
check_installed $dependency
done
-gem install compass
# install web-ui dependencies
cd web-ui
diff --git a/provisioning/provision.sh b/provisioning/provision.sh
index c4093232..48c0237b 100644
--- a/provisioning/provision.sh
+++ b/provisioning/provision.sh
@@ -1,9 +1,7 @@
export LC_ALL=en_US.UTF-8
sudo apt-get update
-sudo apt-get install -y git nodejs-legacy npm python-setuptools python-dev libffi-dev g++ rng-tools ruby-dev
-sudo easy_install pip
-sudo pip install virtualenv
+sudo apt-get install -y git nodejs-legacy npm python-dev python-virtualenv libffi-dev g++ rng-tools ruby-dev
sudo gem install compass
sudo echo "HRNGDEVICE=/dev/urandom" >> /etc/default/rng-tools