Something similar to this should work for you locally enough to open the web app:
bazel run //hswaw/laserproxy -- -hspki_disable -laser_network 127.0.0.1 -client_network 127.0.0.1
This will show you available flags you can pass:
bazel run //hswaw/laserproxy -- -h
If you've never used bazel
, this should work for y'all macOS newbs:
brew install bazel brew install postgresql
TODO(q3k): move this to the bazel codelab once it's finished
You'll need root access to customs.
bazel build --platforms=@io_bazel_rules_go//go/toolchain:openbsd_amd64 //hswaw/laserproxy ssh root@customs supervisorctl stop laserproxy scp bazel-bin/hswaw/laserproxy/laserproxy_/laserproxy root@customs:/var/laserproxy/laserproxy ssh root@customs supervisorctl start laserproxy