/[projects]/misc/xoa-installer/xoa-installer.sh
ViewVC logotype

Diff of /misc/xoa-installer/xoa-installer.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2961 by torben, Mon Feb 29 10:05:45 2016 UTC revision 2982 by torben, Sat Mar 19 08:24:48 2016 UTC
# Line 53  if [ ! -x "/usr/bin/gcc" ] ; then Line 53  if [ ! -x "/usr/bin/gcc" ] ; then
53          echo "installing build-essential"          echo "installing build-essential"
54          apt-get install  build-essential || exit          apt-get install  build-essential || exit
55  fi  fi
56    
57    if [ ! -x "/usr/bin/redis-server" ] ; then
58            echo "installing redis-server"
59            apt-get install  redis-server || exit
60    fi
61    
62    if [ ! -x "/usr/bin/git" ] ; then
63            echo "installing git"
64            apt-get install git
65    fi
66                    
67    
68  if [ ! -x "/usr/local/bin/n" ] ; then  if [ ! -x "/usr/local/bin/n" ] ; then
# Line 71  if [ ! -x "/usr/local/bin/gulp" ] ; then Line 81  if [ ! -x "/usr/local/bin/gulp" ] ; then
81          npm install -g gulp          npm install -g gulp
82  fi  fi
83    
84    if [ ! -x "/usr/local/bin/forever" ] ; then
85            echo "installing forever"
86            npm install -g forever
87    fi
88    
89    if [ ! -x "/usr/local/bin/node-gyp" ] ; then
90            echo "installing node-gyp"
91            npm install -g node-gyp
92    fi
93    
94    if [ ! -d "/usr/local/lib/node_modules/bcrypt" ] ; then
95            echo "installing bcrypt"
96            npm install -g bcrypt
97    fi
98    
99  if [ ! -d "xo-web" ] ; then  if [ ! -d "xo-web" ] ; then
100          git clone -b $BRANCH https://github.com/vatesfr/xo-web.git          git clone -b $BRANCH https://github.com/vatesfr/xo-web.git

Legend:
Removed from v.2961  
changed lines
  Added in v.2982

  ViewVC Help
Powered by ViewVC 1.1.20