WIP simpler installer
This commit is contained in:
parent
847824f97a
commit
680cb05f89
|
@ -34,8 +34,8 @@ pushd $my_app_dir/opt/goldilocks/lib/node_modules/goldilocks
|
||||||
git checkout $my_app_ver
|
git checkout $my_app_ver
|
||||||
popd
|
popd
|
||||||
mkdir -p "$my_app_dir/opt/$my_app_name"/{lib,bin,etc}
|
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 $my_app_dir/bin/goldilocks
|
ln -s ../lib/node_modules/$my_app_name/bin/$my_app_name.js $my_app_dir/opt/$my_app_name/bin/goldilocks
|
||||||
ln -s ../lib/node_modules/$my_app_name/bin/$my_app_name.js $my_app_dir/bin/goldilocks.js
|
ln -s ../lib/node_modules/$my_app_name/bin/$my_app_name.js $my_app_dir/opt/$my_app_name/bin/goldilocks.js
|
||||||
mkdir -p "$my_app_dir/etc/$my_app_name"
|
mkdir -p "$my_app_dir/etc/$my_app_name"
|
||||||
chmod 775 "$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"
|
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