Skip to content

Commit 6bf7ac7

Browse files
committed
fix: uniformize tool name
1 parent 967ac29 commit 6bf7ac7

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ git tag -a v1.0 -m "Release v1.0.0"
150150
git push origin v1.0
151151
```
152152

153-
You can now use the [GitHub release interface](https://github.com/LeoFVO/<tool_name>/releases/new) to create a new release.
153+
You can now use the [GitHub release interface](https://github.com/LeoFVO/go4hackers/releases/new) to create a new release.
154154

155155
The release process will automatically:
156156

Dockerfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ ENV CGO_ENABLED=0
44
COPY go.mod /src/
55
RUN go mod download
66
COPY . .
7-
RUN go build -a -o <tool_name> -trimpath
7+
RUN go build -a -o go4hackers -trimpath
88

99
FROM alpine:latest
1010

1111
RUN apk add --no-cache ca-certificates \
1212
&& rm -rf /var/cache/*
1313

1414
RUN mkdir -p /app \
15-
&& adduser -D <tool_name> \
16-
&& chown -R <tool_name>:<tool_name> /app
15+
&& adduser -D go4hackers \
16+
&& chown -R go4hackers:go4hackers /app
1717

18-
USER <tool_name>
18+
USER go4hackers
1919
WORKDIR /app
2020

21-
COPY --from=builder /src/<tool_name> .
21+
COPY --from=builder /src/go4hackers .
2222

23-
ENTRYPOINT [ "./<tool_name>" ]
23+
ENTRYPOINT [ "./go4hackers" ]

docs/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Please ensure that your environment match the following requirements :
1919
To run the website locally :
2020

2121
```bash
22+
export NEXT_PUBLIC_REPOSITORY=leofvo/go4hackers
2223
pnpm install
2324
pnpm dev
2425
```

0 commit comments

Comments
 (0)