-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
41 lines (28 loc) · 863 Bytes
/
Copy pathmakefile
File metadata and controls
41 lines (28 loc) · 863 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
36
37
38
39
40
41
.PHONY: run run-dev run-prod test test-single test-verbose build clean \
docker-build docker-run docker-pull-remote docker-run-remote try-api
run:
mvn spring-boot:run
run-dev:
mvn spring-boot:run -Dspring-boot.run.profiles=dev
run-prod:
mvn spring-boot:run -Dspring-boot.run.profiles=prod
build:
mvn clean package
clean:
mvn clean
test:
mvn test
test-single:
mvn -Dtest=$(class) test
test-verbose:
mvn test -Dsurefire.useFile=false
docker-build:
docker build -t jwt-auth-server .
docker-run:
docker run -p 8080:8080 jwt-auth-server
docker-pull-remote:
docker pull junjiewu0/jwt-auth-server || docker pull --platform linux/amd64 junjiewu0/jwt-auth-server
docker-run-remote:
docker run -p 8080:8080 junjiewu0/jwt-auth-server || docker run --platform linux/amd64 -p 8080:8080 junjiewu0/jwt-auth-server
try-api:
./scripts/try_api.sh