fission-codes / fission

Fission CLI & server
https://runfission.com/docs
119 stars 14 forks source link

Add docker-compose based setup for local dev #581

Closed walkah closed 2 years ago

walkah commented 2 years ago

Adds a docker-compose based setup for running postgres + powerdns locally. This is primarily useful for local fission server development.

Includes some first-pass docs in the README

expede commented 2 years ago

From Discord:

expede I have no problem with us using Docker for dev, so this isn't that conversation. Remind me why we need this as opposed to stuff in our nix-shell for consistency? We talked about it but I'm forgetting why this is easier?

walkah

  • nix-shell doesn't have a real mechanism for managing daemons
  • powerdns is marked broken in nix on darwin those are the two I can think of off the top of my head
walkah commented 2 years ago

When I go to http://localhost:8081 I can log in, but there's no error messages in the UI.

I think this is bad (lazy) documentation on my part - you need to create three zones. Looks to me from the error you posted that runfission.test. is 404.