Remove unused installation scripts
authorTayane Fernandes <tayane.rmf@gmail.com>
Tue, 16 May 2017 17:24:07 +0000 (14:24 -0300)
committerTayane Fernandes <tayane.rmf@gmail.com>
Tue, 16 May 2017 17:24:07 +0000 (14:24 -0300)
debian_setup.sh [deleted file]
osx_setup.sh [deleted file]

diff --git a/debian_setup.sh b/debian_setup.sh
deleted file mode 100644 (file)
index fcd9b5e..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-#
-
-function clone_repo {
-    if [ -d ./pixelated-user-agent ]
-    then
-      cd pixelated-user-agent
-      /usr/bin/git pull --rebase
-      rm -rf web-ui/node_modules
-    else
-      /usr/bin/git clone https://github.com/pixelated/pixelated-user-agent.git
-      cd pixelated-user-agent
-    fi
-}
-
-sudo apt-get install -y puppet git </dev/null
-clone_repo
-sudo puppet apply --modulepath='provisioning/modules' provisioning/manifests/debian.pp
-./install-pixelated.sh -v ~/.virtualenv/user-agent-venv
diff --git a/osx_setup.sh b/osx_setup.sh
deleted file mode 100644 (file)
index d042d04..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/bash
-
-# Test to make sure we are OSX
-if [ $(uname) != 'Darwin' ]
-then
-    echo "This script should run only on an OSX system!"
-    exit 1
-fi
-
-# Read the shell configured for the user and set the variable file accordingly
-function current_shell {
-    case $SHELL in
-        *bash)
-          echo ~/.bash_profile
-        ;;
-
-        *zsh)
-          echo ~/.zprofile
-        ;;
-
-        /bin/sh)
-          echo ~/.profile
-        ;;
-
-        *)
-            echo "Your shell isn't supported yet!"
-        ;;
-
-        #Other shells can go here
-    esac
-}
-
-function install_compass {
-    rbenv install -s 2.2.3
-    eval "$(rbenv init -)"
-    rbenv shell 2.2.3
-    rbenv local 2.2.3
-    gem install compass
-    export PATH=$PATH:~/.rbenv/versions/2.2.3/bin
-    echo "export PATH=$PATH:~/.rbenv/versions/2.2.3/bin" >> $(current_shell)
-    echo 'eval "$(rbenv init -)"' >> $(current_shell)
-}
-
-function install_rbenv {
-    hash rbenv 2>/dev/null || brew install rbenv ruby-build
-}
-
-function install_npm {
-    hash node 2>/dev/null || brew install npm
-}
-
-function clone_repo {
-    if [ -d ./pixelated-user-agent ]
-    then
-      cd pixelated-user-agent
-      /usr/bin/git pull --rebase
-      rm -rf web-ui/node_modules
-    else
-      /usr/bin/git clone https://github.com/pixelated/pixelated-user-agent.git
-      cd pixelated-user-agent
-    fi
-}
-
-#setup frontend
-install_rbenv
-install_compass
-install_npm
-
-#setup backend
-brew install python # force brew install even if python is already install
-export  LDFLAGS=-L/usr/local/opt/openssl/lib
-export  LDFLAGS=-L/usr/local/opt/openssl/lib
-pip install virtualenv
-
-# install
-clone_repo
-./install-pixelated.sh -v ~/.virtualenv/user-agent-venv