okay, Akissvart

Signed-off-by: Odyssey <odyssey346@disroot.org>
This commit is contained in:
Odyssey 2022-08-14 21:34:56 +02:00
parent 7365c75a7f
commit 5334eeda5e
2 changed files with 1 additions and 22 deletions

View File

@ -24,13 +24,4 @@ cd segfautils/
go run main.go # Run this when you've done above, and you're planning on developing, if not, do below
go build . -o segfautils
./segfautils
```
#### NixOS
```
git clone https://github.com/ProjectSegfault/segfautils
cd segfautils/
nix-shell # Avoid installing Go and setting up the web port, by just running a nix shell
# You still need the environment variables HCAPTCHA_SITE_KEY, HCAPTCHA_SECRET_KEY and SEGFAUTILS_WEBHOOK_URL though!
go run main.go # If you're developing
go build . -o segfautils && ./segfautils # If you're intending to use Segfautils for production.
```
```

View File

@ -1,12 +0,0 @@
{ pkgs ? import <nixpkgs> {}
}:
pkgs.mkShell {
name="dev";
buildInputs = [
pkgs.go
];
shellHook = ''
export SEGFAUTILS_PORT=6893
echo "Go installed, have your fun"
'';
}