From 34c41835c27b0480610554a7b1f4db465ad87455 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Fri, 15 Sep 2023 11:19:00 +0200 Subject: [PATCH] README: Binary has a D capital now --- .gitignore | 1 + Dockerfile | 4 ++-- Dockerfile-builded | 4 ++-- README.md | 10 +++++----- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index fd53c03..a8da426 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ happydomain +happyDomain bindata.go \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 10005ce..625ec64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,7 +40,7 @@ FROM alpine:3.18 EXPOSE 8081 -ENTRYPOINT ["/usr/sbin/happydomain"] +ENTRYPOINT ["/usr/sbin/happyDomain"] ENV HAPPYDOMAIN_LEVELDB_PATH=/data/happydomain.db @@ -55,5 +55,5 @@ WORKDIR /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 diff --git a/Dockerfile-builded b/Dockerfile-builded index 8c3db8e..2367774 100644 --- a/Dockerfile-builded +++ b/Dockerfile-builded @@ -2,7 +2,7 @@ FROM alpine:3.18 EXPOSE 8081 -ENTRYPOINT ["/usr/sbin/happydomain"] +ENTRYPOINT ["/usr/sbin/happyDomain"] ENV HAPPYDOMAIN_LEVELDB_PATH=/data/happydomain.db @@ -17,5 +17,5 @@ WORKDIR /data VOLUME /data -COPY happydomain /usr/sbin/happydomain +COPY happydomain /usr/sbin/happyDomain COPY hadmin.sh /usr/bin/hadmin diff --git a/README.md b/README.md index 8196b44..cdd8b4a 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ go generate ./... 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 @@ -72,7 +72,7 @@ The binary comes with sane default options to start with. You can simply launch the following command in your terminal: ``` -./happydomain +./happyDomain ``` 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`. -The help command `./happydomain -help` shows you the available engines: +The help command `./happyDomain -help` shows you the available engines: ``` -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: ```sh -./happydomain /etc/happydomain/config +./happyDomain /etc/happydomain/config ``` #### 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: ``` -./happydomain -dev http://127.0.0.1:8080 +./happyDomain -dev http://127.0.0.1:8080 ``` In another terminal, run the node part: