-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEnvoy.blade.php
48 lines (41 loc) · 1.01 KB
/
Envoy.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@servers(['web' => '[email protected]'])
@macro('reset')
remove-clone
reset-db
@endmacro
@task('install')
cd /home/dreamsark.dev
git checkout .
git pull origin master
composer self-update
composer install
@endtask
@task('update')
cd /home/dreamsark.dev
git checkout .
git pull origin master
composer self-update
composer update
@endtask
@task('config-git')
git config --global user.email "[email protected]"
git config --global user.name "Rafael"
@endtask
@task('refresh')
cd /home/dreamsark.dev
php artisan migrate:refresh --seed
@endtask
@task('remove-clone')
cd /home
sudo rm -r -f dreamsark.dev
git clone https://github.com/SkysoulDesign/Dreamsark.git dreamsark.dev
@endtask
@task('reset-db')
mysql -uroot -p478135
drop database dreamsark;
drop database dreamsark_report;
drop database dreamsark_translation;
create database dreamsark;
create database dreamsark_report;
create database dreamsark_translation;
@endtask