Update script/setup.sh
This commit is contained in:
parent
b2c7e8a4bb
commit
cd77070c65
@ -1,17 +1,16 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# setup
|
# setup
|
||||||
npm install -g bower
|
sudo npm install -g bower
|
||||||
bower install
|
sudo --askpass bower install --allow-root
|
||||||
bundle install
|
bundle install
|
||||||
bin/rake db:migrate
|
bin/rake db:migrate
|
||||||
|
|
||||||
# make configuration file
|
# make configuration file
|
||||||
|
|
||||||
CONF_FOLDER=`pwd`
|
|
||||||
CONF_PATH=`pwd`/configure.conf
|
CONF_PATH=`pwd`/configure.conf
|
||||||
|
|
||||||
if ls $CONF_FOLDER | grep configure.conf; then
|
if ls `pwd` | grep configure.conf; then
|
||||||
echo "configure.conf exist"
|
echo "configure.conf exist"
|
||||||
else
|
else
|
||||||
touch $CONF_PATH
|
touch $CONF_PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user