#!/usr/bin/env bash
echo "========== Initialize micurs.com ==============="

function gulp_install {
    echo " - Node install: $1"
    npm install $1 --save-dev  --no-bin-link > /dev/null
}

echo "+ Restore/Update all type definitions in typings"
cd /micurs.com
tsd reinstall --save --overwrite


cd site

echo "+ Npm install packages in package.json"
# gulp_install gulp
# gulp_install gulp-tsc
# gulp_install gulp-less
# gulp_install gulp-uglify
# gulp_install gulp-rename
# gulp_install gulp-watch
# gulp_install gulp-minify-css
npm install

echo "+ Bower install client-side components in bower.json"
bower install

#!/usr/bin/env bash
echo "========== Initialize micurs.com ==============="

echo "= HOSTS UPDATE"

cat <<END >>.node_modules
/micurs.com/site/public/components
END

function node_install {
    echo " - Node install: $1"
    npm install $1 --save-dev  --no-bin-link > /dev/null
}

echo "+ Restore/Update all type definitions in typings"
cd /micurs.com
tsd reinstall --save --overwrite


cd site

echo "+ Npm install packages in package.json"
# gulp_install gulp
# gulp_install gulp-tsc
# gulp_install gulp-less
# gulp_install gulp-uglify
# gulp_install gulp-rename
# gulp_install gulp-watch
# gulp_install gulp-minify-css
npm install

echo "+ Bower install client-side components in bower.json"
bower install

Add .node_modules to the vagrant him directory to retrieve modules from /micurs.com/site/public/components
Add .node_modules to the vagrant him directory to retrieve modules from /micurs.com/site/public/components

Probably not needed ....

Signed-off-by: Michele Ursino <0d7cbec952c33d7c21e19d50988899883a4c91e0@amilink.com>
