README: Binary has a D capital now

This commit is contained in:
nemunaire 2023-09-15 11:19:00 +02:00
parent b64d821480
commit 34c41835c2
4 changed files with 10 additions and 9 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
happydomain happydomain
happyDomain
bindata.go bindata.go

View File

@ -40,7 +40,7 @@ FROM alpine:3.18
EXPOSE 8081 EXPOSE 8081
ENTRYPOINT ["/usr/sbin/happydomain"] ENTRYPOINT ["/usr/sbin/happyDomain"]
ENV HAPPYDOMAIN_LEVELDB_PATH=/data/happydomain.db ENV HAPPYDOMAIN_LEVELDB_PATH=/data/happydomain.db
@ -55,5 +55,5 @@ WORKDIR /data
VOLUME /data VOLUME /data
COPY --from=gobuild /go/src/git.happydns.org/happydomain/happydomain /usr/sbin/happydomain COPY --from=gobuild /go/src/git.happydns.org/happydomain/happyDomain /usr/sbin/happyDomain
COPY hadmin.sh /usr/bin/hadmin COPY hadmin.sh /usr/bin/hadmin

View File

@ -2,7 +2,7 @@ FROM alpine:3.18
EXPOSE 8081 EXPOSE 8081
ENTRYPOINT ["/usr/sbin/happydomain"] ENTRYPOINT ["/usr/sbin/happyDomain"]
ENV HAPPYDOMAIN_LEVELDB_PATH=/data/happydomain.db ENV HAPPYDOMAIN_LEVELDB_PATH=/data/happydomain.db
@ -17,5 +17,5 @@ WORKDIR /data
VOLUME /data VOLUME /data
COPY happydomain /usr/sbin/happydomain COPY happydomain /usr/sbin/happyDomain
COPY hadmin.sh /usr/bin/hadmin COPY hadmin.sh /usr/bin/hadmin

View File

@ -62,7 +62,7 @@ go generate ./...
go build -tags swagger,ui go build -tags swagger,ui
``` ```
This last command will create a binary `happydomain` you can use standalone. This last command will create a binary `happyDomain` you can use standalone.
Install at home Install at home
@ -72,7 +72,7 @@ The binary comes with sane default options to start with.
You can simply launch the following command in your terminal: You can simply launch the following command in your terminal:
``` ```
./happydomain ./happyDomain
``` ```
After some initialization, it should show you: After some initialization, it should show you:
@ -87,7 +87,7 @@ Go to http://localhost:8081/ to start using happyDomain.
By default, the LevelDB storage engine is used. You can change the storage engine using the option `-storage-engine other-engine`. By default, the LevelDB storage engine is used. You can change the storage engine using the option `-storage-engine other-engine`.
The help command `./happydomain -help` shows you the available engines: The help command `./happyDomain -help` shows you the available engines:
``` ```
-storage-engine value -storage-engine value
@ -120,7 +120,7 @@ Only the first file found will be used.
It is also possible to specify a custom path by adding it as argument to the command line: It is also possible to specify a custom path by adding it as argument to the command line:
```sh ```sh
./happydomain /etc/happydomain/config ./happyDomain /etc/happydomain/config
``` ```
#### Config file format #### Config file format
@ -156,7 +156,7 @@ If you want to contribute to the frontend, instead of regenerating the frontend
In one terminal, run `happydomain` with the following arguments: In one terminal, run `happydomain` with the following arguments:
``` ```
./happydomain -dev http://127.0.0.1:8080 ./happyDomain -dev http://127.0.0.1:8080
``` ```
In another terminal, run the node part: In another terminal, run the node part: