From d713f9b4e6a53cf9707c937fc5bcb51692dfb8df Mon Sep 17 00:00:00 2001 From: James Eversole Date: Sun, 18 Feb 2024 19:11:53 -0600 Subject: [PATCH] Add containerless instructions to run the application --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7408681..865cd1e 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,17 @@ own hardware! ## DEPLOYMENT -Only Nix build instructions targeting containers are provided below, -but this project can be built and run without containers or Nix by using Cabal. +Only Nix build instructions are provided below. +### No Containers +1) Clone this repository +2) Build the application (with flakes enabled): `nix build '.#'` +3) Set the environment variables + - File: `cp examples/.env.example ./.env; $EDITOR ./.env` + - If you want to set them in a different way, you already know how. +4) Run the application: `./result/bin/Purr` + +### Containers 1) Clone this repository 2) Build the container image (with flakes enabled): `nix build .#purr-container` 3) Load the container image