From 46c9e47b7f0bac6eeff53d110f8d76b8d317fe04 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Mon, 20 Oct 2014 13:33:07 -0400 Subject: [PATCH 1/4] Update UbuntuInstallation.md --- UbuntuInstallation.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/UbuntuInstallation.md b/UbuntuInstallation.md index 77b14757..1f142c32 100644 --- a/UbuntuInstallation.md +++ b/UbuntuInstallation.md @@ -1,12 +1,3 @@ -If you are doing an upgrade and or recent pull for changes you will need to change your default ruby package from 2.1.1 to ruby 2.1.2 -to do this use this command - rvm install ruby-2.1.2 -once the download is finished select that package as your default - rvm default ruby-2.1.2 -then - bundle install -now you are good to go with normal execution - Firstly this walkthrough is done with a 14.04 32bit install of Ubuntu. All commands that I could are terminal based. @@ -59,9 +50,9 @@ now there is a couple other things we are going to need which is nodejs, postgre sudo apt-get install redis-server -Install the specific version of ruby needed this will take some time *Note you will get a warning about this being an outdated version* +Install the specific version of ruby needed this will take some time - rvm install ruby-1.9.3-p125 + rvm install ruby-2.1.3 Now we also need to rename your database file which is in ./config/database.default.yml to database.yml From 86e16d0a9c3ffc693e3755dbf7d8d745a3e30d74 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Mon, 20 Oct 2014 13:39:33 -0400 Subject: [PATCH 2/4] Update UbuntuInstallation.md --- UbuntuInstallation.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/UbuntuInstallation.md b/UbuntuInstallation.md index 1f142c32..2a629876 100644 --- a/UbuntuInstallation.md +++ b/UbuntuInstallation.md @@ -40,7 +40,29 @@ alright now we can download metamaps from the master using git git clone https://github.com/Connoropolous/metamaps_gen002.git -now there is a couple other things we are going to need which is nodejs, postgresql, libpq-dev and redis-server +now there is a couple other things we are going to need which is phantomjs, nodejs, postgresql, libpq-dev and redis-server + + + // 64 bit ubuntu + cd /usr/local/share + sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 + sudo tar xjf phantomjs-1.9.7-linux-x86_64.tar.bz2 + sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs + sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs + sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs + + + // 32 bit ubuntu + cd /usr/local/share + sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-i686.tar.bz2 + sudo tar xjf phantomjs-1.9.7-linux-i686.tar.bz2 + sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-i686/bin/phantomjs /usr/local/share/phantomjs + sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-i686/bin/phantomjs /usr/local/bin/phantomjs + sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-i686/bin/phantomjs /usr/bin/phantomjs + + // on either running + phantomjs -v + // will confirm it's installed sudo apt-get install nodejs From c03960025ee80da751a1a1da3990de2335706fca Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Mon, 20 Oct 2014 13:40:31 -0400 Subject: [PATCH 3/4] Update UbuntuInstallation.md --- UbuntuInstallation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UbuntuInstallation.md b/UbuntuInstallation.md index 2a629876..0e1e8ebb 100644 --- a/UbuntuInstallation.md +++ b/UbuntuInstallation.md @@ -22,7 +22,7 @@ then lets install RVM with curl like this curl -L get.rvm.io | bash -s stable - PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting + PATH=$PATH:$HOME/.rvm/bin [[ -s "$HOME/.profile" ]] && source "$HOME/.profile" From 369779387def768e9047bc58bbd514acf90d841b Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Mon, 20 Oct 2014 13:47:30 -0400 Subject: [PATCH 4/4] removed phantomjssetup doc --- phantomjsSetup.txt | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 phantomjsSetup.txt diff --git a/phantomjsSetup.txt b/phantomjsSetup.txt deleted file mode 100644 index f8916c30..00000000 --- a/phantomjsSetup.txt +++ /dev/null @@ -1,21 +0,0 @@ - -// 64 bit ubuntu -cd /usr/local/share -sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 -sudo tar xjf phantomjs-1.9.7-linux-x86_64.tar.bz2 -sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs -sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs -sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs - - -// 32 bit ubuntu -cd /usr/local/share -sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-i686.tar.bz2 -sudo tar xjf phantomjs-1.9.7-linux-i686.tar.bz2 -sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-i686/bin/phantomjs /usr/local/share/phantomjs -sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-i686/bin/phantomjs /usr/local/bin/phantomjs -sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-i686/bin/phantomjs /usr/bin/phantomjs - -// on either running -phantomjs -v -// will confirm it's installed \ No newline at end of file