From cd77070c65d32a02f8c23d87a262c997c04c46c6 Mon Sep 17 00:00:00 2001 From: kyg516 Date: Sun, 11 Sep 2016 15:10:38 +0900 Subject: [PATCH] Update script/setup.sh --- script/setup.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/script/setup.sh b/script/setup.sh index 8b4d5f3..d6175cc 100755 --- a/script/setup.sh +++ b/script/setup.sh @@ -1,17 +1,16 @@ #! /bin/sh # setup -npm install -g bower -bower install +sudo npm install -g bower +sudo --askpass bower install --allow-root bundle install bin/rake db:migrate # make configuration file -CONF_FOLDER=`pwd` CONF_PATH=`pwd`/configure.conf -if ls $CONF_FOLDER | grep configure.conf; then +if ls `pwd` | grep configure.conf; then echo "configure.conf exist" else touch $CONF_PATH