build/build.sh
changeset 367 e0fb97c1e9c6
parent 346 4cd0f8c936ed
child 368 5f79f31ca9a2
equal deleted inserted replaced
366:228ec0935f97 367:e0fb97c1e9c6
    18 function install() {
    18 function install() {
    19     pushd "$DIR"
    19     pushd "$DIR"
    20 
    20 
    21     echoblue "---> preparing bo client"
    21     echoblue "---> preparing bo client"
    22     pushd ../server/bo_client
    22     pushd ../server/bo_client
    23     npm install
    23     /usr/local/bin/npm install
    24     ./node_modules/.bin/bower install
    24     ./node_modules/.bin/bower install
    25     popd
    25     popd
    26     echoblue "---> preparing bo client done"
    26     echoblue "---> preparing bo client done"
    27 
    27 
    28     echoblue "---> preparing back"
    28     echoblue "---> preparing back"
    29     pushd ../server/src
    29     pushd ../server/src
    30     php composer.phar install
    30     php composer.phar install
    31     npm install
    31     /usr/local/bin/npm install
    32     ./node_modules/.bin/bower install
    32     ./node_modules/.bin/bower install
    33     popd
    33     popd
    34     echoblue "---> preparing back done"
    34     echoblue "---> preparing back done"
    35 
    35 
    36     echoblue "---> preparing app-client"
    36     echoblue "---> preparing app-client"
    37     pushd ../cms/app-client
    37     pushd ../cms/app-client
    38     npm install
    38     /usr/local/bin/npm install
    39     ./node_modules/.bin/bower install
    39     ./node_modules/.bin/bower install
    40     popd
    40     popd
    41     echoblue "---> preparing app-client done"
    41     echoblue "---> preparing app-client done"
    42 
    42 
    43     echoblue "---> preparing module"
    43     echoblue "---> preparing module"