proposed fix for issue #272. args were not correctly formatted. changed the start script and development documentation
This commit is contained in:
parent
794a8f9755
commit
f6fca892ce
|
@ -66,7 +66,7 @@ Once you are done with your changes and want to update the embedded assets to th
|
||||||
# cd to the root of the folder, and then run go generate
|
# cd to the root of the folder, and then run go generate
|
||||||
go generate ./...
|
go generate ./...
|
||||||
# now build the server without the development mode
|
# now build the server without the development mode
|
||||||
cd cmd/server && go build && ./server -htts-domain my.room.example
|
cd cmd/server && go build && ./server -htts-domain=my.room.example
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -134,4 +134,4 @@ Because of [issue #79](https://github.com/ssb-ngi-pointer/go-ssb-room/issues/79)
|
||||||
4) Install [GoReleaser](https://goreleaser.com/install/).
|
4) Install [GoReleaser](https://goreleaser.com/install/).
|
||||||
5) Create a version tag in git.
|
5) Create a version tag in git.
|
||||||
6) run `goreleaser release` at the root of the repo to create the `dist/` folder with the `.deb` file.
|
6) run `goreleaser release` at the root of the repo to create the `dist/` folder with the `.deb` file.
|
||||||
7) Upload the built packages.
|
7) Upload the built packages.
|
||||||
|
|
2
start.sh
2
start.sh
|
@ -5,4 +5,4 @@
|
||||||
# SPDX-License-Identifier: CC0-1.0
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
[[ -f ".env" ]] && source .env
|
[[ -f ".env" ]] && source .env
|
||||||
./cmd/server/server -https-domain "${HTTPS_DOMAIN}" -repo "${REPO:-~/.ssb-go-room-secrets}" -aliases-as-subdomains "${ALIASES_AS_SUBDOMAINS}"
|
./cmd/server/server -https-domain="${HTTPS_DOMAIN}" -repo="${REPO:-~/.ssb-go-room-secrets}" -aliases-as-subdomains="${ALIASES_AS_SUBDOMAINS}"
|
||||||
|
|
Loading…
Reference in New Issue