Update script/setup.sh

This commit is contained in:
kyg516 2016-09-11 15:10:38 +09:00
parent b2c7e8a4bb
commit cd77070c65

View File

@ -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