From 6cc01707c1318f24b841cee1bdc9920ab30706cd Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Sun, 24 Apr 2022 16:04:29 -0300 Subject: [PATCH] chore: update vagrant scripts --- start_vagrant.sh | 8 +++++--- updateCompserNPM.sh | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/start_vagrant.sh b/start_vagrant.sh index 13a8e29..eade9a9 100644 --- a/start_vagrant.sh +++ b/start_vagrant.sh @@ -1,4 +1,6 @@ #!/bin/zsh -builtin cd ~/development/laravelHomestead && /usr/bin/vagrant up && builtin cd - -~/Apps/firefox/firefox-bin http://shareit.test -~/Apps/firefox/firefox-bin https://mailtrap.io/inboxes/455614/messages +export VAGRANT_CWD=/home/bruno/development/Homestead/ +vagrant up +#builtin cd ~/development/laravelHomestead && /usr/bin/vagrant up && builtin cd - +#~/Apps/firefox/firefox-bin http://shareit.test +#~/Apps/firefox/firefox-bin https://mailtrap.io/inboxes/455614/messages diff --git a/updateCompserNPM.sh b/updateCompserNPM.sh index dbdee5c..987fc90 100644 --- a/updateCompserNPM.sh +++ b/updateCompserNPM.sh @@ -1 +1 @@ -ssh homestead -t 'cd code/Bruno\ Fontes/shareit; echo; echo -n "Press enter to update Composer..."; read; composer update; echo; echo -n "Press enter to update NPM..."; read; npm update; echo; echo -n "Press enter to exit..."; read' +ssh homestead -t 'cd shareit; php7.3 /usr/local/bin/composer update; npm update; echo; echo -n "Press enter to exit..."; read'