Installation Methods
Choose the installation method that best suits your needs:- Docker (Recommended)
- From Source
Docker deployment is the recommended method for both development and production environments.
Step 1: Install Docker
- macOS
- Linux
- Windows
Step 2: Clone Repository
Step 3: Configure Environment
Step 4: Deploy
The deployment script will build and start all required services.
Verify Installation
After installation, verify everything is working:1
Check service health
2
List available providers
3
Check logs
View application logs to ensure no errors:
Post-Installation Setup
Configure Data Providers
Configure Data Providers
To enable health device integrations, you need OAuth credentials from each provider.See the Configuration guide for detailed instructions on obtaining and setting up OAuth credentials for:
- Garmin Connect
- Whoop
- Custom providers
Set up AI Chat
Set up AI Chat
To enable AI chat features, add API keys to
config.yaml:Configure Database Encryption
Configure Database Encryption
For production, set secure encryption keys:
Set up Cloud Storage (Optional)
Set up Cloud Storage (Optional)
Configure S3-compatible storage for data backups:
Directory Structure
After installation, your directory structure will look like this:Troubleshooting Installation
Docker installation fails
Docker installation fails
Problem: Docker commands fail with permission errors.Solution:
Port conflicts
Port conflicts
Problem: Port 18080 is already in use.Solution: Change the port in
config.yaml:Database connection fails
Database connection fails
Problem: Cannot connect to PostgreSQL.Solutions:
-
Verify PostgreSQL is running:
-
Check connection settings in
config.yaml: -
Check database logs:
Python version mismatch
Python version mismatch
Problem: Python 3.12 not available.Solutions:
- macOS
- Linux
- Windows
Module import errors
Module import errors
Problem:
ModuleNotFoundError when running the application.Solution:Uninstallation
- Docker
- Source Installation
Remove all containers, volumes, and images: