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
This runs on customs.hackerspace.pl, which is a NixOS box with its own independant configuration. It imports hscloud and builds the hswaw.laserproxy
attribute. You can replicate this by running:
nix-build -A hswaw.laserproxy
From the root of hscloud. To actually deploy it on customs, well, ssh there and upate /etc/nixos/configuration.nix
. Some day its configuration might also get ported to hscloud.