wilddragon-site/DEPLOY.md

57 lines
1.5 KiB
Markdown
Raw Normal View History

2026-04-17 15:51:01 -04:00
# Wild Dragon Site - Deployment Guide
## Quick Deploy to TrueNAS Docker
### 1. Copy project to Docker share
Copy this entire `wilddragon-site` folder to `\\10.0.0.25\Docker\wilddragon-site`
### 2. Build and run with Docker Compose
SSH into TrueNAS or use Portainer terminal:
```bash
cd /mnt/NVME/Docker/wilddragon-site
docker compose up -d --build
```
The site will be available at `http://10.0.0.25:43036`
### 3. Set up Nginx Proxy Manager
In your Nginx Proxy Manager (http://10.0.0.25:30020):
- Add a new Proxy Host
- Domain: `wilddragon.net` and `www.wilddragon.net`
- Forward to: `10.0.0.25:43036`
- Enable SSL (Let's Encrypt)
## Adding Your Photos
### Leica BTS Photos
Drop your photos into `public/images/` with these names:
- `commanders-thumb.jpg` - Washington Commanders project
- `betmgm-thumb.jpg` - BetMGM project
- `cvs-thumb.jpg` - CVS/Aetna project
- `blue-origin-thumb.jpg` - Blue Origin project
- `ubs-thumb.jpg` - UBS project
- `teneo-thumb.jpg` - Teneo project
- `intuit-thumb.jpg` - Intuit XR project
Recommended: 1200x800px, optimized for web (under 500KB each)
### BMG Line Drawings
You can add line drawings to individual project pages by placing them in:
`public/images/drawings/` and updating the project detail page component.
## Editing Content
All project content lives in a single file:
`src/data/projects.ts`
To add a new project, copy an existing entry and modify the fields.
Then rebuild: `docker compose up -d --build`
## Local Development
```bash
npm install
npm run dev
```
Site runs at http://localhost:43036