Update script/setup.sh
This commit is contained in:
parent
b2c7e8a4bb
commit
cd77070c65
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user