From 42dcf546c2996fd612a5c937c256d6d21bbf9fad Mon Sep 17 00:00:00 2001 From: Mircea Moise Date: Wed, 19 Nov 2014 12:31:55 +0000 Subject: Removing cloning of the repo - assuming it already exists + update README + disbled interactivity in the bower install + workaround gnupg issue --- README.md | 4 ++-- install-pixelated.sh | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a23da74b..6c2036c7 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,10 @@ On Debian/Ubuntu systems you need: sudo apt-get install nodejs npm ruby bundler virtualenv git -Once you have that, run: +Once you have that, clone the repo and run inside: ``` -curl https://raw.githubusercontent.com/pixelated-project/pixelated-user-agent/master/install-pixelated.sh | /bin/bash +/bin/bash install-pixelated.sh ``` _____________ diff --git a/install-pixelated.sh b/install-pixelated.sh index 3aa816d5..3ee52a84 100644 --- a/install-pixelated.sh +++ b/install-pixelated.sh @@ -26,16 +26,13 @@ function check_installed() { } for dependency in node npm ruby bundle virtualenv git gpg; do - check_installed $dependency + check_installed $dependency done -# clone repo -git clone https://github.com/pixelated-project/pixelated-user-agent - # install web-ui dependencies -cd pixelated-user-agent/web-ui +cd web-ui npm install -node_modules/bower/bin/bower install +node_modules/bower/bin/bower install --config.interactive=false bundle install LC_ALL=en_US.UTF-8 ./go build @@ -44,6 +41,7 @@ cd ../service virtualenv .virtualenv source .virtualenv/bin/activate ./go develop --always-unzip +pip uninstall -y gnupg; pip install gnupg # print usage cat <