WIP simpler installer
This commit is contained in:
parent
e0fe188846
commit
11715f1405
|
@ -34,6 +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
|
||||
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"
|
||||
|
|
Loading…
Reference in New Issue