+# V0.0.4 InitApp.sh improvements
+
+# Changed
+
+- InitApp.sh improvements: LinkLaraknife
+
# V0.0.3 InitApp.sh improvements
## Changed
fi
}
function LinkLaraknife(){
- if [ ! -L vendor/hamatoma/laraknife ]; then
- mkdir -p vendor/hamatoma
- ln -sv ../../../laraknife vendor/hamatoma
- fi
+ mkdir -p vendor/hamatoma
+ ln -sv ../../../laraknife vendor/hamatoma
}
function DoIt(){
# get DEV_USER
. .dev.user
apt update && apt install composer npm
- LinkLaraknife
CreateStorage
Wait
chown -R $DEV_USER:www-data bootstrap/cache
sudo -u $DEV_USER npm run build
echo "see .lrv.credential for first login"
}
+if [ ! -L vendor/hamatoma/laraknife ]; then
+ LinkLaraknife
+fi
+
if [ ! -d ../laraknife ]; then
echo "+++ missing ../laraknife"
echo "cd .. ; git clone git@github.com:hamatoma/laraknife.git"