mirror of
https://github.com/brunofontes/shareit.git
synced 2024-11-23 12:00:52 +00:00
chore: add helper scripts
- Deploy (merge into production, push, composer install and npm install) - start_vagrant (just start vagrant and browser) - ssh_homestead (a simple ssh into homestead)
This commit is contained in:
parent
df2ac8f223
commit
aa55e10e69
7
.gitignore
vendored
7
.gitignore
vendored
@ -5,14 +5,7 @@
|
||||
/vendor
|
||||
/.idea
|
||||
/.vscode
|
||||
/.vagrant
|
||||
Homestead.json
|
||||
Homestead.yaml
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
.env
|
||||
.phpunit.result.cache
|
||||
mergeAndDeploy.sh
|
||||
start_vagrant.sh
|
||||
stop_vagrant.sh
|
||||
ssh_homestead.sh
|
2
deploy.sh
Normal file
2
deploy.sh
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
git checkout production && git merge master && git checkout - && git push origin production && ssh -A contabo -t "cd /var/www/shareit.brunofontes.net; git fetch --all; git checkout --force production; git pull origin production --force; ~/composer.phar install -n --optimize-autoloader --no-dev; npm install"
|
1
ssh_homestead.sh
Normal file
1
ssh_homestead.sh
Normal file
@ -0,0 +1 @@
|
||||
ssh homestead -t "cd code/Bruno\ Fontes/shareit; bash --login"
|
4
start_vagrant.sh
Normal file
4
start_vagrant.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/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
|
Loading…
Reference in New Issue
Block a user