From b3c10147df7135505f001d29b4c924691208e5dc Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Thu, 12 Dec 2024 04:39:01 +0100 Subject: [PATCH] Env: Update devshell commands --- flake.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index fc72633..9069735 100644 --- a/flake.nix +++ b/flake.nix @@ -125,14 +125,19 @@ # Use $1 for positional args commands = [ { - name = "pycharm"; - help = "Launch PyCharm Professional"; - command = "pycharm-professional . &>/dev/null &"; + name = "db"; + help = "Serve PocketBase"; + command = "pocketbase serve --http 192.168.86.50:8090"; } { - name = "db"; - help = "Launch SQLiteBrowser"; - command = "sqlitebrowser ./instance/formula10.db &>/dev/null &"; + name = "dev"; + help = "Serve Formula 11 (Dev)"; + command = "npm run dev -- --host --port 5173"; + } + { + name = "prod"; + help = "Serve Formula 11 (Prod)"; + command = "npm run build && npm run preview -- --host --port 5173"; } ]; };