vouch-proxy icon indicating copy to clipboard operation
vouch-proxy copied to clipboard

How to install/run without Docker

Open schristm opened this issue 6 years ago • 1 comments

Hey guys, could you provide instructions for how to install outside of the ~/go/src/github.com/vouch/vouch-proxy directory? I saw that the systemd file provided references /opt, but I'm not sure how much of ~/go/src/github.com/vouch/vouch-proxy should be copied to /opt.

Is this how to do it?

go get github.com/vouch/vouch-proxy
cd ~/go/src/github.com/vouch/vouch-proxy
go build
mv ~/go/src/github.com/vouch/vouch-proxy /opt/vouch-proxy

schristm avatar Jun 25 '20 04:06 schristm

Ironically the Dockerfile might be the best guide for what needs to be put in place...

You'll need to move the .defaults.yml file and the directories templates and static into the directory which contains the vouch-proxy binary.

You may also need to set $VOUCH_ROOT

Regarding build instructions please see the README.

The longer term solution is to build all these assets into the static binary, probably using go.rice

bnfinet avatar Jun 25 '20 19:06 bnfinet