From 40dc3247efc94781def6c493cd1596dcc897c700 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sun, 21 Sep 2025 13:49:07 +0200 Subject: [PATCH] add some semblance of guide --- README.MD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.MD b/README.MD index 9af6def..7679daf 100644 --- a/README.MD +++ b/README.MD @@ -1,3 +1,21 @@ # St Steamus Prime A steam family optimizer + + +## How to develop + +Frankly we are not quite sure. + +The flake here sets up a development environment including postgres. You can use it with +`nix develop --impure`, and then running `devenv up`. +This process manager thing will eat that shell session, so you have to open another one to acutally develop.. +Don't forget to run `nix develop --impure` in that new session as well! + +(or use direnv to do it automatically) + +After that you can enter the st_steamus_prime subdirectory and run. + +* `mix deps.get` to download the dependencies. +* `mix phx.server` to run the development server +