/[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 3184 by torben, Tue Jan 3 15:01:59 2017 UTC revision 3187 by torben, Tue Jan 3 21:34:30 2017 UTC
# Line 169  cd .. Line 169  cd ..
169  #xo-web  #xo-web
170  echo "building xo-web"  echo "building xo-web"
171  cd xo-web  cd xo-web
172          npm install --unsafe-perm || exit          #npm install --unsafe-perm || exit
173            npm install || exit
174          npm run build || exit          npm run build || exit
175  cd ..  cd ..
176    
# Line 190  cd .. Line 191  cd ..
191  #       cp xo-web-v4/dist/images/logo_small.png xo-web/dist/images/logo_small.png  #       cp xo-web-v4/dist/images/logo_small.png xo-web/dist/images/logo_small.png
192  #fi  #fi
193    
194    dir=`dirname $0`
195    
196  if [ ! -f "/etc/xo-server/config.yaml" ] ; then  if [ ! -f "/etc/xo-server/config.yaml" ] ; then
197          if  [ ! -d "/etc/xo-server" ] ; then          if  [ ! -d "/etc/xo-server" ] ; then
198                  mkdir /etc/xo-server                  mkdir /etc/xo-server
199          fi          fi
200            copy $dir/config.yaml /etc/xo-server/config.yaml
         echo "please setup /etc/xo-server/config.yaml"  
         exit  
201  fi  fi
202    
203  echo Installing plugins  echo Installing plugins

Legend:
Removed from v.3184  
changed lines
  Added in v.3187

  ViewVC Help
Powered by ViewVC 1.1.20