WIP simpler installer

This commit is contained in:
AJ ONeal 2017-11-06 17:34:35 -07:00
parent 11715f1405
commit 847824f97a
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ pushd $my_app_dir/opt/goldilocks/lib/node_modules/goldilocks
git checkout $my_app_ver
popd
mkdir -p "$my_app_dir/opt/$my_app_name"/{lib,bin,etc}
ln -s ../lib/node_modules/$my_app_name/bin/$my_app_name.js bin/goldilocks
ln -s ../lib/node_modules/$my_app_name/bin/$my_app_name.js bin/goldilocks.js
ln -s ../lib/node_modules/$my_app_name/bin/$my_app_name.js $my_app_dir/bin/goldilocks
ln -s ../lib/node_modules/$my_app_name/bin/$my_app_name.js $my_app_dir/bin/goldilocks.js
mkdir -p "$my_app_dir/etc/$my_app_name"
chmod 775 "$my_app_dir/etc/$my_app_name"
cat "$my_app_dist/etc/$my_app_name/$my_app_name.example.yml" > "$my_app_dir/etc/$my_app_name/$my_app_name.example.yml"