feat: nix build enabled

nix build
will put binary into nix store, and symlink to ./result
running with
./result/bin/auth-pocketbase-attempt serve --dir=./pb_data

if i understood migrations correctly, when using as a framework
migrations will be generated as go files, and will be packaged into the binary
This commit is contained in:
efim
2023-10-08 07:20:48 +00:00
parent 769fe603c7
commit 4a64f2186f
4 changed files with 136 additions and 19 deletions

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@ tmp/
.direnv
pb_data
pages/static/public/out.css
result