You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When following the instructions, under Ubuntu 20.04 the package (currently) gets downloaded to /home/USER/go/pkg/mod/github.com/bzz/[email protected]
To access it easier, I wrote a little script which can run from anywhere, starts the service and automatically opens the browser. No magic, but convenient:
export SAD_LABEL='XXX'
export SAD_GOOGLE_ID='YYY'
export SAD_GOOGLE_SECRET='ZZZ'
xdg-open http://localhost:8080
cd /home/USER/go/pkg/mod/github.com/bzz/[email protected]
go run ./cmd/server [-compact]
Not sure if this is the optimal solution, though. Maybe one could add this (or a better/different approach) to the Readme as a starting point for new users? Also, it could be stated that the credentials.json needs to be placed in the root directory, even though this was easy to figure out.
The text was updated successfully, but these errors were encountered:
Hi @daniel-bogdoll. I think the idea to include such script in the repo is a great one - from what I have seen, every user end up with some script like this of their own.
I believe one can even remove cd /home/USER/go/pkg/mod/ as the same should work with any working directory, if one clones the repo manually instead of using go get.
And polishing the READEM section a bit for the convenience of new users is something that needs to be done (e.g. see #56), so will be happy to accept PRs for both :)
When following the instructions, under Ubuntu 20.04 the package (currently) gets downloaded to /home/USER/go/pkg/mod/github.com/bzz/[email protected]
To access it easier, I wrote a little script which can run from anywhere, starts the service and automatically opens the browser. No magic, but convenient:
Not sure if this is the optimal solution, though. Maybe one could add this (or a better/different approach) to the Readme as a starting point for new users? Also, it could be stated that the credentials.json needs to be placed in the root directory, even though this was easy to figure out.
The text was updated successfully, but these errors were encountered: