From daa24581fde289f8d384cc26567f3e718735d803 Mon Sep 17 00:00:00 2001 From: Hyperbel <25338593+hyperbel@users.noreply.github.com> Date: Sun, 25 Dec 2022 17:23:07 +0100 Subject: [PATCH 1/2] reproducable env with nix --- shell.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..5fae8cd --- /dev/null +++ b/shell.nix @@ -0,0 +1,14 @@ +{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-22.11.tar.gz") {} }: +pkgs.mkShell { + packages = [ + (pkgs.python3.withPackages (ps: [ + ps.flask + ps.qrcode + ])) + + pkgs.curl + pkgs.vim + pkgs.sqlite + pkgs.tmux + ]; +} From b50af69fcf29ffac47add1ca1fa4b815296502ed Mon Sep 17 00:00:00 2001 From: Hyperbel <25338593+hyperbel@users.noreply.github.com> Date: Sun, 25 Dec 2022 17:24:12 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f840255..978e521 100644 --- a/README.md +++ b/README.md @@ -10,5 +10,11 @@ Dies ist eine Software für Lan Partys ## Server starten + Clonen `git clone https://github.com/fingadumbledore/Party` + +### Nativ: + Wechseln`cd Party` + starten`./run.sh` + +### Mit Nix ++ `nix-shell` ++ `bash run.sh`