-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJustfile
33 lines (23 loc) · 876 Bytes
/
Justfile
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
set export := true
build:
docker compose pull
docker compose build
up:
docker compose up -d --build
down:
docker compose down
reset:
docker compose down -v --remove-orphans
just up
doc:
go run golang.org/x/pkgsite/cmd/pkgsite@latest -dev
catalog $OTLP_URL="localhost:4317" $DB_URL="postgres://catalog:catalog@catalog-postgres:5432/catalog" $NATS_URL="nats://nats:4222": up
go run github.com/alimitedgroup/PoC/srv/catalog
order $OTLP_URL="localhost:4317" $NATS_URL="nats://nats:4222": up
go run github.com/alimitedgroup/PoC/srv/order
warehouse $OTLP_URL="localhost:4317" $NATS_URL="nats://nats:4222" $WAREHOUSE_ID="42": up
go run github.com/alimitedgroup/PoC/srv/warehouse
api $OTLP_URL="localhost:4317": up
go run github.com/alimitedgroup/PoC/srv/api_gateway
cli *args:
go run github.com/alimitedgroup/PoC/cli {{args}}