File tree 4 files changed +16
-3
lines changed
{{cookiecutter.project_name}}
4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 28
28
29
29
if [[ " {{cookiecutter.use_rest_http}}" =~ ^[Yy] ]]; then
30
30
echo_info " Install rest.http extension for vscode"
31
- touch rest.http
31
+ curl -sLO https://raw.githubusercontent.com/coderj001/PhoneGuardian/master/ rest.http
32
32
fi
33
33
34
34
#
@@ -55,6 +55,13 @@ JWT_SECRET=$(openssl rand -base64 32)
55
55
# Step 5:
56
56
#
57
57
58
+ echo_info " Initializing Go"
59
+ go mod tidy
60
+
61
+ #
62
+ # Step 6:
63
+ #
64
+
58
65
echo_info " Initializing Git"
59
66
git init
60
67
git add .
Original file line number Diff line number Diff line change 3
3
# Variables
4
4
DOCKER_IMAGE_DEV = {{cookiecutter.project_name}}_dev
5
5
DOCKER_IMAGE_PROD = {{cookiecutter.project_name}}_prod
6
- DOCKER_COMPOSE_DEV = docker-compose -f compose/ dev.yml
7
- DOCKER_COMPOSE_PROD = docker-compose -f compose/ prod.yml
6
+ DOCKER_COMPOSE_DEV = docker-compose -f dev.yaml
7
+ DOCKER_COMPOSE_PROD = docker-compose -f prod.yaml
8
8
9
9
.PHONY : help build-dev build-prod run-dev run-prod build-cli run-cli clean
10
10
@@ -30,6 +30,12 @@ run-dev:
30
30
run-prod :
31
31
$(DOCKER_COMPOSE_PROD ) up
32
32
33
+ down-dev :
34
+ $(DOCKER_COMPOSE_DEV ) down
35
+
36
+ down-prod :
37
+ $(DOCKER_COMPOSE_PROD ) down
38
+
33
39
build-cli :
34
40
go build -o {{cookiecutter.project_name}} cmd/server/* .go
35
41
File renamed without changes.
File renamed without changes.
You canβt perform that action at this time.
0 commit comments