summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuda Dornelles <dudassdornelles@gmail.com>2014-11-20 09:24:49 -0200
committerDuda Dornelles <dudassdornelles@gmail.com>2014-11-20 09:24:49 -0200
commitbbae208d2bb0e866977ebd80c1bc34cea5eed0eb (patch)
tree211c7eee2d72fa72a63cb576ccc6147ea15e1757
parent24241770c30b51b911cfd48e2b21df82c8f34a2d (diff)
parent42dcf546c2996fd612a5c937c256d6d21bbf9fad (diff)
Merge pull request #155 from mmircea16/bootstrap
This makes sense, we should update our website to point people into forking/cloning/running install_pixelated Thanks!
-rw-r--r--README.md4
-rw-r--r--install-pixelated.sh10
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 <<EOF