-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.ahoy.yml
37 lines (29 loc) · 917 Bytes
/
.ahoy.yml
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
ahoyapi: v2
commands:
artisan:
cmd: "docker-compose exec -u $UID mtltools-php php artisan $@"
usage: "Run Artisan commands"
tinker:
cmd: "docker-compose exec mtltools-php php artisan tinker $@"
usage: "Run Tinker"
bashp:
cmd: "docker-compose exec mtltools-php bash"
usage: "Open container's Bash terminal"
start:
cmd: "docker-compose up --build -d"
usage: "Build and start service"
stop:
cmd: "docker-compose stop"
usage: "Stops service"
destroy:
cmd: "docker-compose down"
usage: "Destroys service (including DB)"
bashn:
cmd: "docker-compose exec mtltools-node bash"
usage: "Open container's Bash terminal"
ng:
cmd: "docker-compose exec mtltools-node ng $@"
usage: "Angular Services: ahoy ng..."
build-front:
cmd: "docker-compose exec mtltools-node cd resources/frontend && sh build2php.sh"
usage: "Compiles front-end"