forked from pascualmg/cohete
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (23 loc) · 696 Bytes
/
Makefile
File metadata and controls
35 lines (23 loc) · 696 Bytes
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
run:
php "src/bootstrap.php"
watch:
./src/ddd/Infrastructure/scripts/watch.sh
install-nix: #if you dont have yet :)
./src/ddd/Infrastructure/scripts/install-nix.sh
run-prod:
nix develop .#devShells.x86_64-linux.prodShell
fix:
php-cs-fixer fix ./src
migrate:
./vendor/bin/phinx migrate
fixtures:
./vendor/bin/phinx seed:run
test_ab:
./src/ddd/Infrastructure/scripts/test_ab.php 'http://localhost:8000/post'
rabbitmq:
docker-compose -f src/ddd/Infrastructure/Queue/RabbitMQ/docker-compose.yml up -d
mysql:
docker-compose -f src/ddd/Infrastructure/db/docker-compose.yml up -d
behat:
./vendor/bin/behat
.PHONY: run watch install-nix run-prod fix migrate fixtures test_ab mysql