Native Development Workflow with Network Testing Support #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/native-dev-workflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
This PR introduces a fast native development workflow that eliminates Docker rebuild overhead and enables instant cross-device testing.
Performance Improvements
Key Features
1. Native Dev Script (
dev-native.sh)uv run uvicorn --reloadnpm run dev2. Network Testing Mode
3. Cookie Security Fix
Secure=false+SameSite=lax(localhost-friendly)Secure=true+SameSite=none(cross-domain)APP_ENVsetting4. Python 3.13 Pinning
.python-versionto pin to Python 3.13Files Changed
dev-native.sh- Native dev startup scriptNATIVE_DEV_SETUP.md- Comprehensive documentationbackend/.python-version- Python version pinningbackend/.env.network- Network mode templatebackend/app/utils/cookies.py- Cookie security respects APP_ENVCLAUDE.md- Updated quick start guide.gitignore- Added native dev artifactsTesting
Documentation
See
NATIVE_DEV_SETUP.mdfor complete setup instructions including Discord OAuth configuration.Recommended Workflow
For daily development, use
./dev-native.sh startfor maximum speed. Keep./start.sh prodfor production build testing only.