TeamIDE-methodology/templates/TauriStarter/docs/deployment.md

79 lines
1.2 KiB
Markdown

# Build & Deployment
> Build process and deployment instructions for [Project Name]
## Build Commands
```bash
cd app
# Development build
./build.sh -dev -open
# Production build (installs to ~/Applications)
./build.sh -prod
# Clean build artifacts
./build.sh clean
```
## Build Output
```
app/build/
├── dev/
│ └── [AppName].app # Development build
├── prod/
│ └── [AppName].app # Production build
├── logs/
│ └── build_latest.log # Build output
└── console/
└── console_latest.log # Runtime logs
```
## Production Build
### macOS
1. Build the production version:
```bash
./build.sh -prod
```
2. The app is automatically installed to `~/Applications/`
### Distribution
[Add distribution instructions - notarization, signing, etc.]
## TeamIDE Deployment
If using TeamIDE for hosting:
```bash
# Deploy changes
teamide_deploy
# Set environment variables
teamide_set_env_vars
# Check logs
teamide_get_logs
```
**Workspace ID**: `[your-workspace-id]`
## Environment Variables
### Required for Production
```env
# List production environment variables
```
### Optional
```env
# List optional environment variables
```