diff --git a/koality.yml b/koality.yml index b1b4b8c..5368b79 100644 --- a/koality.yml +++ b/koality.yml @@ -19,8 +19,9 @@ setup: - rm -rf /crunchbase - sudo ln -s /home/crunchbase /crunchbase - sudo chown crunchbase:crunchbase /crunchbase - - for repo in `grep ":path => '/crunchbase/" Gemfile | cut -d ' ' -f 2 | sed -r "s/[',]//g"`; do cd /crunchbase/$repo && git pull && if [ -e bower.json ] ; then sudo -u crunchbase bower install ; fi && bundle install; done - - for dir in `grep "/crunchbase/$KOALITY_REPOSITORY" /crunchbase/*/Gemfile | cut -d ':' -f 1 | sed -e "s/\/Gemfile//g"`; do cd $dir && git pull && if [ -e bower.json ] ; then sudo -u crunchbase bower install ; fi && bundle install; done + - cd /home/crunchbase/$KOALITY_REPOSITORY && bundle install && if [ -e bower.json ] ; then sudo -u crunchbase bower update ; fi + - for repo in `grep ":path => '/crunchbase/" Gemfile | cut -d ' ' -f 2 | sed -r "s/[',]//g"`; do cd /crunchbase/$repo && git pull && if [ -e bower.json ] ; then sudo -u crunchbase bower update ; fi && bundle install; done + - for dir in `grep "/crunchbase/$KOALITY_REPOSITORY" /crunchbase/*/Gemfile | cut -d ':' -f 1 | sed -e "s/\/Gemfile//g"`; do cd $dir && git pull && if [ -e bower.json ] ; then sudo -u crunchbase bower update ; fi && bundle install; done - cd /crunchbase/integration && git pull && bundle install #################################### # Create and Seed the Database