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