I actually tried this before:
- Started the hab-depot component successfully (with redis), but didn't know how to create an origin or authenticate myself.
- I then Started the hab-builder-api, configuring my github's client_key and secret_key for it. For some reason, the builder-api component starts the builder-web one, I'm not sure if it's intentional or not, but it doesn't pass the client_key configuration to the builder-web component, so signing in didn't work.
- I tried to run builder-web manually from the repository (using ruby), but this failed too, perhaps I wasn't using the correct git tag.
- I then saw the api-shell target in the Makefile, but it failed on me for some reason as well, so I gave up and decided to ask here.
My main issue was that I was getting "Forbidden" responses from the depot. Now that I know about --insecure flag, I will probably use it. If I don't use the secure flag, is there a way to authenticate myself (or register) or setup an origin through the depot's API? I didn't find the correct path in hab-depot/server.rs, but again, maybe I was missing something. I'll give it a go again with api-shell.