Overview
This guide covers building all Olis applications for production deployment, including optimization strategies and platform-specific considerations.Build All Applications
From the repository root:Electron Desktop Client
1
Build Next.js renderer
out/ directory.2
Compile Electron main process
dist-electron/.3
Package installers
release/:- Windows:
.exeinstaller - macOS:
.dmg,.zip - Linux:
.AppImage,.snap,.deb
Platform-Specific Builds
- Windows
- macOS
- Linux
- Windows 10+ (for building)
- NSIS (included with electron-builder)
API Server
Docker Build
Python Package
Chrome Extension
Build Optimization
Electron Client
Bundle Size Optimization
Bundle Size Optimization
Asset Optimization
Asset Optimization
- Compress images with imagemin
- Use SVG for icons when possible
- Lazy load heavy components
- Code split routes
Electron Builder Optimization
Electron Builder Optimization
API Server
Multi-stage Docker Build
Multi-stage Docker Build
Python Optimization
Python Optimization
CI/CD Pipeline
GitHub Actions Example
Code Signing
macOS Code Signing
Windows Code Signing
Release Process
1
Update version
2
Build all applications
3
Run tests
4
Create git tag
5
Upload to distribution platforms
- GitHub Releases
- Chrome Web Store
- Mac App Store (optional)
- Microsoft Store (optional)
Next Steps
Testing
Write and run tests
Contributing
Contribution guidelines