Skip to content

Commit

Permalink
chore: update readme and add nushell env generation script
Browse files Browse the repository at this point in the history
  • Loading branch information
updraft0 committed Feb 2, 2025
1 parent aae36c0 commit 9a9640f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 7 additions & 0 deletions scripts/generate-secret-env.nu
Original file line number Diff line number Diff line change
@@ -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=<insert here>"
print "CT_ESI_CLIENT_SECRET=<insert here>"

0 comments on commit 9a9640f

Please # to comment.