Skip to main content

Julee - Clean architecture for accountable and transparent digital supply chains

Project description

Julee Example - Docker Setup Guide

This guide explains how to set up and run the Julee Example application using Docker Compose.

Prerequisites

  • Docker and Docker Compose installed
  • API keys for external services

Quick Start

  1. Set up environment variables:

    cp .env.example .env
    

    Edit .env and add your API keys:

    ANTHROPIC_API_KEY=your_anthropic_api_key_here
    GEMINI_API_KEY=your_gemini_api_key_here
    
  2. Run the application:

    docker compose up --build -d
    
  3. Access the services:

Building and Running

# Start in background
docker compose up -d --build

# View logs
docker compose logs -f

# Stop all services
docker compose down

Demo Features

The application includes pre-loaded demo data:

  • Knowledge Services: Anthropic Claude configurations
  • Queries: Meeting extraction queries (info, agenda, actions)
  • Assembly Specs: Meeting minutes specification
  • Documents: Sample meeting transcripts

Using the Demo

  1. Navigate to Specifications in the UI
  2. Click "Run Assembly" on the Meeting Minutes specification
  3. Select a document from the dropdown
  4. Click "Start Assembly" to trigger the workflow
  5. Monitor progress in the Temporal UI (Click on the Workflows option)

Current Limitations

Cannot view assembled document output in UI

The current interface doesn't provide a way to view the final assembled document that results from running the workflow. To view the assembled content, you need to use the API directly with the document ID that's returned when the workflow completes successfully.

API commands to view assembled document:

# curl command
curl -X GET "http://localhost:8000/documents/doc-68f2047f-6796-4830-91ad-104da83f6f24/content"

# HTTPie command
http GET http://localhost:8000/documents/doc-68f2047f-6796-4830-91ad-104da83f6f24/content

# With JSON formatting
curl -X GET "http://localhost:8000/documents/doc-68f2047f-6796-4830-91ad-104da83f6f24/content" \
  -H "Accept: application/json" | jq .

Replace the document ID with the one returned from your workflow execution.

Troubleshooting

Common Issues

Services fail to start:

  • Check Docker daemon is running
  • Verify port availability (3000, 8000, 8001, 9000, 9001)
  • Ensure API keys are set correctly

API key errors:

  • Verify keys are valid and active
  • Check .env file is in the correct location
  • Restart services after updating environment variables

Build failures:

  • Clear Docker cache: docker system prune -f
  • Rebuild without cache: docker compose build --no-cache

Database and Storage

Reset data:

# Stop services and remove volumes
docker compose down -v

# Restart with fresh data
docker compose up --build

Access MinIO Console:

Architecture

┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐
│   React UI      │────│   FastAPI       │────│   Temporal      │
│   (vite:3000)   │    │   (uvicorn:8000)│    │   Worker        │
└─────────────────┘    └─────────────────┘    └─────────────────┘
                                │                        │
                                │                        │
                       ┌─────────────────┐    ┌─────────────────┐
                       │     MinIO       │    │   PostgreSQL    │
                       │   (storage)     │    │   (temporal)    │
                       └─────────────────┘    └─────────────────┘

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

julee-0.1.3.tar.gz (229.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

julee-0.1.3-py3-none-any.whl (320.8 kB view details)

Uploaded Python 3

File details

Details for the file julee-0.1.3.tar.gz.

File metadata

  • Download URL: julee-0.1.3.tar.gz
  • Upload date:
  • Size: 229.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for julee-0.1.3.tar.gz
Algorithm Hash digest
SHA256 941410e5915ea9c7fe6e9522210d8eb54b7b12d2a089b4f063debf2bbbfd928d
MD5 27b2052121997fa121913fe25f2e7ab8
BLAKE2b-256 e836ea75b00599c83e1c806f73453b75e29bee918191c30f30a143fba91233c6

See more details on using hashes here.

File details

Details for the file julee-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: julee-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 320.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for julee-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 efac7229da8d7a76d1325d06c07e5fc65a3c928db65fcacf2e1585d8e50dba72
MD5 94be9d5441efe755f9d06ba188d3f2b4
BLAKE2b-256 e75eb231d757cce98602d9246f976c1d21bfb5f8040c81a745d99b9e564e86e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page