Add containerless instructions to run the application

This commit is contained in:
James Eversole 2024-02-18 19:11:53 -06:00
parent a1edace600
commit d713f9b4e6

View File

@ -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