Skip to content

Commit e174f65

Browse files
committed
update
1 parent d8ec52c commit e174f65

File tree

6 files changed

+568
-44
lines changed

6 files changed

+568
-44
lines changed

.cursor/rules/huntarr-dev.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ alwaysApply: true
1818
- Test both Docker and local environments (port 9705)
1919

2020
### UNRAID DEPLOYMENT (huntarr-moviehunt) — ALWAYS AFTER CODE CHANGES
21+
- **Always deploy our LOCAL build, never pull from Docker Hub.** Use `./unraid/deploy-with-build.exp`, which copies this repo’s source to Unraid, builds the image there, and runs it. Do **not** use `deploy-moviehunt-with-mounts.exp` or `deploy-moviehunt.exp` for normal deploys—those scripts run `huntarr/huntarr:latest` from Docker Hub, which is a published release and is not this repo’s current code.
2122
- **Deploy target: always Unraid unless the user explicitly says to do it locally.** When they ask to deploy, redeploy, or run the container, use Unraid. Only use local Docker when they say "local" or "run it locally". If Unraid deploy fails, then run local Docker.
2223
- **ALWAYS redeploy to Unraid after making code changes** (run `./unraid/deploy-with-build.exp`). Do not wait for the user to ask.
2324
- When the user asks to **deploy**, **redeploy**, or **deploy the Huntarr container to Unraid**, they mean the **huntarr-moviehunt** test container on Unraid (10.0.0.10).
24-
- Use the project’s Unraid scripts: `./unraid/deploy-with-build.exp` (default), `./unraid/deploy-moviehunt-with-mounts.exp` for full deploy with volume mounts, or `./unraid/deploy-moviehunt.exp` for appdata-only.
25-
- Default full deploy: `cd /Users/home/Huntarr/Huntarr.io && ./unraid/deploy-with-build.exp`
25+
- Unraid deploy command: `cd /Users/home/Huntarr/Huntarr.io && ./unraid/deploy-with-build.exp` (builds from source on Unraid; same volume mounts as the other scripts).
2626
- Connection/details live in `./unraid/` (README, DEPLOYMENT.md, STATUS.md, TESTING-GUIDE.md). The `./unraid/` directory is git-ignored.
2727

2828
### VERSION MANAGEMENT

.cursor/rules/unraid-always-redeploy.mdc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ alwaysApply: true
55
---
66
# Unraid: Always Redeploy After Code Changes
77

8+
- **Always deploy our LOCAL build, never the image from Docker Hub.** Pulling `huntarr/huntarr:latest` from Docker Hub would deploy a published release (often older than this repo). We deploy what we have here: build from this repo’s source and deploy that.
89
- **Deploy target: always Unraid unless the user explicitly says to do it locally.** When they ask to deploy, redeploy, or run the container, use Unraid. Only use local Docker when they say "local" or "run it locally".
910
- **After making any code changes to Huntarr, ALWAYS run the Unraid deploy.** Do not wait for the user to ask. Do it automatically so they can test immediately.
1011
- Command: `cd /Users/home/Huntarr/Huntarr.io && ./unraid/deploy-with-build.exp`
11-
- This builds from source and deploys to the huntarr-moviehunt container on Unraid (10.0.0.10). URL: http://10.0.0.10:9720
12+
- This copies local source to Unraid, builds the image there (`huntarr-moviehunt-local:latest`), and deploys to the huntarr-moviehunt container on Unraid (10.0.0.10). URL: http://10.0.0.10:9720
13+
- **Do not use** `./unraid/deploy-moviehunt-with-mounts.exp` for normal deploys—that script uses `huntarr/huntarr:latest` from Docker Hub, not our local code.
1214
- Run this at the end of the conversation turn whenever you have modified project source files (Python, JS, HTML, CSS, templates, etc.).
1315
- If Unraid deploy fails (e.g. unreachable), then run local: `docker-compose down && COMPOSE_BAKE=true docker-compose up -d --build`.

0 commit comments

Comments
 (0)