From 9a9640f84e5430eb2b0e263026f6d772ab0497b5 Mon Sep 17 00:00:00 2001 From: updraft0 <121029559+updraft0@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:24:33 +0000 Subject: [PATCH] chore: update readme and add nushell env generation script --- README.md | 3 +++ scripts/generate-secret-env.nu | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100755 scripts/generate-secret-env.nu diff --git a/README.md b/README.md index 46ee201..cebbc76 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,9 @@ To run using [docker-compose]: Current minimum runtime requirements are 4GB RAM and 1 CPU, because the full [SDE][eve-online-sde] is imported and parsing hundreds of megabytes of YAML is memory consuming. +For development, it may be useful to override the env variables `CT_DB_PATH` to something appropriate and set +`CT_HTTP_UI_PORT=8091` to match the vite frontend port. + ## Features The feature list is intended as an overview of capabilities and current roadmap - for more details see the project view. diff --git a/scripts/generate-secret-env.nu b/scripts/generate-secret-env.nu new file mode 100755 index 0000000..c309a19 --- /dev/null +++ b/scripts/generate-secret-env.nu @@ -0,0 +1,7 @@ +#!/usr/bin/env nu +# Generates the secret.env file contents. See application.conf for how the environment variables are used +print $"CT_AUTH_SECRET=(random binary 32 | encode base64)" +print $"CT_ESI_CALLBACK_SECRET=(random binary 32 | encode base64)" +print $"CT_ENCRYPTION_SECRET=(random binary 32 | encode base64)" +print "CT_ESI_CLIENT_ID=" +print "CT_ESI_CLIENT_SECRET="