Skip to content

armgit / ARES

Public Imported from GitHub
0

ARES - authorized red-team engagement automation with dashboard, campaign scope, module orchestration, OPSEC controls, encrypted vault, and reporting.

docs: fix dashboard startup command examples

Mafifriziec849be2b98b
diff --git a/README.md b/README.md
index 5425cd8..2f5dd97 100644
--- a/README.md
+++ b/README.md
@@ -417,7 +417,8 @@ It prints both URLs, opens the dashboard by default, prefixes backend/frontend
logs, and shuts both child processes down when you press `Ctrl+C`. Login with:
- Username: `admin`
-- Password: the value of `ARES_DEFAULT_ADMIN_PASSWORD` in `.env`
+- Password: the value of `ARES_DEFAULT_ADMIN_PASSWORD` in the current
+ environment or `.env` file
The command does not print the password value. If `frontend/node_modules` is
missing, run `npm ci` in `frontend/` or start with:
@@ -439,15 +440,15 @@ Manual fallback for troubleshooting:
Terminal 1:
```powershell
-Set-Location C:\path\to\ARES
+Set-Location "<ARES repo root>"
.\.venv\Scripts\python.exe -m uvicorn ares.api.server:app --host 127.0.0.1 --port 8080 --reload
```
Terminal 2:
```powershell
-Set-Location C:\path\to\ARES\frontend
-"C:\Program Files\nodejs\npm.cmd" run dev -- --host 127.0.0.1 --port 5173
+Set-Location "<ARES repo root>\frontend"
+& "C:\Program Files\nodejs\npm.cmd" run dev -- --host 127.0.0.1 --port 5173
```
Open:
diff --git a/docs/dashboard-guide.md b/docs/dashboard-guide.md
index 693a486..6234a26 100644
--- a/docs/dashboard-guide.md
+++ b/docs/dashboard-guide.md
@@ -30,10 +30,11 @@ This one-terminal launcher starts:
It prints `http://127.0.0.1:5173/dashboard/`, opens it by default, and stops
both child processes when you press `Ctrl+C`. Login with username `admin` and
-the value of `ARES_DEFAULT_ADMIN_PASSWORD` from `.env`; the launcher does not
-print that password. Use `ares dashboard dev --no-open` to skip browser open,
-or `ares dashboard dev --install` to run `npm ci` if `frontend/node_modules`
-is missing.
+the value of `ARES_DEFAULT_ADMIN_PASSWORD` from the current environment or
+`.env` file; the launcher does not print that password. Use
+`ares dashboard dev --no-open` to skip browser open, or
+`ares dashboard dev --install` to run `npm ci` if `frontend/node_modules` is
+missing.
Options: `--api-host`, `--api-port`, `--ui-host`, `--ui-port`, `--no-open`,
`--no-reload`, and `--install`.
@@ -43,15 +44,15 @@ Manual fallback for troubleshooting:
Terminal 1:
```powershell
-Set-Location C:\path\to\ARES
+Set-Location "<ARES repo root>"
.\.venv\Scripts\python.exe -m uvicorn ares.api.server:app --host 127.0.0.1 --port 8080 --reload
```
Terminal 2:
```powershell
-Set-Location C:\path\to\ARES\frontend
-"C:\Program Files\nodejs\npm.cmd" run dev -- --host 127.0.0.1 --port 5173
+Set-Location "<ARES repo root>\frontend"
+& "C:\Program Files\nodejs\npm.cmd" run dev -- --host 127.0.0.1 --port 5173
```
Open:
diff --git a/docs/frontend.md b/docs/frontend.md
index c406f5b..367f79e 100644
--- a/docs/frontend.md
+++ b/docs/frontend.md
@@ -23,13 +23,13 @@ for the FastAPI backend.
Manual fallback for troubleshooting:
```powershell
-Set-Location C:\path\to\ARES
+Set-Location "<ARES repo root>"
.\.venv\Scripts\python.exe -m uvicorn ares.api.server:app --host 127.0.0.1 --port 8080 --reload
```
```powershell
-Set-Location C:\path\to\ARES\frontend
-"C:\Program Files\nodejs\npm.cmd" run dev -- --host 127.0.0.1 --port 5173
+Set-Location "<ARES repo root>\frontend"
+& "C:\Program Files\nodejs\npm.cmd" run dev -- --host 127.0.0.1 --port 5173
```
Then open `http://127.0.0.1:5173/dashboard/`.