-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
42 lines (29 loc) · 872 Bytes
/
makefile
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
all:
docker-compose up
all_build:
docker-compose up --build
start_api_local:
cd api && VERANCIAL_DEPLOY_ENV=local go run main.go
start_report_process_worker_local:
cd data-process-worker && VERANCIAL_DEPLOY_ENV=local go run main.go
start_app_integration_worker_local:
cd app-integration-worker && VERANCIAL_DEPLOY_ENV=local go run main.go
start_api_docker:
docker-compose up api
start_login_local:
cd login && VERANCIAL_DEPLOY_ENV=local go run main.go
start_login_docker:
docker-compose up login
start_db:
docker-compose up -d database
start_redis:
docker-compose up -d worker-redis
ssh_db:
docker exec -it database bash
migrate_db:
cd shared/scripts && \
VERANCIAL_DEPLOY_ENV=local go run mage.go migrateUserModel && \
VERANCIAL_DEPLOY_ENV=local go run mage.go migrateTransactionModel
start_all:
cd shared/scripts && \
osascript start_all.sh