From 169ea3c566b83bc8aa4dc6a5ffe908c29487ddab Mon Sep 17 00:00:00 2001 From: sk1982 Date: Sun, 7 Apr 2024 22:13:10 -0400 Subject: [PATCH] some readme changes --- README.md | 5 +++-- scripts/README.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d5d6073..4c14fa8 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,8 @@ Make sure you have [created tables](#creating-database-tables) and ran [database 2. Run `docker compose up` (or `docker compose up -d` to detach the output) ### Running without Docker -1. Run `npm run start` +1. Set any [runtime environment variables](#runtime-variables) in `.env.local` that you have not set already. +2. Run `npm run start` ## Initial Promotion to Owner In order to access all features of Actaeon, you need to have owner permissions. This can be done by setting the `permissions` column of your user inside the `aime_user` table to `255`, or by running the server with [`ACTAEON_OWNER_ID`](#runtime-variables) set to your user id. Once one user is owner, they can promote other users to owner through the Actaeon web interface. You can find out your user id by inspecting your ARTEMiS logs: @@ -40,7 +41,7 @@ Aimedb | INFO | access_code ******************** -> user_id 10000 Environment variables can be added through `.env.local` or through the environment. At bare minimum, you will need to set the [`NEXT_PUBLIC_*_EXTENSION`](#build-time-variables) variables to the corresponding file extensions generated by the [`asset-extract.py` script](scripts/README.md#asset-configs), along with the [`DATABASE_URL` and `NEXTAUTH_SECRET`](#runtime-variables) variables. ### Build-time Variables -These variables can only be set at build time: before running `npm run build` or before building the docker image. +These variables can only be set in `.env.local` at build time: before running `npm run build` or before building the docker image. | Variable | Description | Examples | Required | |--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------|----------| diff --git a/scripts/README.md b/scripts/README.md index 00d528e..659db7c 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -17,7 +17,7 @@ You must specify the path to these executables inside `paths.yaml` if they are n 2. [`vgmstream-cli`](https://vgmstream.org/) ### Asset Configs -You can customize the file extension and ffmpeg arguments of generated files through an `assets.yaml` file. Some exiting assets configs have already been provided. Read the comment in the first line of the file to decide which one you want to use. +You can customize the file extension and ffmpeg arguments of generated files through an `assets.yaml` file. Some existing assets configs have already been provided. Read the comment in the first line of the file to decide which one you want to use. ### Options These options must be specified before the `game` argument