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.2.tar.gz (189.6 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.2-py3-none-any.whl (266.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: julee-0.1.2.tar.gz
  • Upload date:
  • Size: 189.6 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.2.tar.gz
Algorithm Hash digest
SHA256 aca969d00e0bc48053290163ff0ee4d50d844c0d1cc12db725d82eea87efb054
MD5 afb673963cf3b817c1a9d46dcb824b58
BLAKE2b-256 dcdb12b356bff82cbeda699b74dd26e1008d3a0935032df09aa51517c4c3ab5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: julee-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 266.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 18a8ca24200207ccde259f62117f4262c00131d7d333e8770dd0715a36c986a0
MD5 2f6768f7d13945483f154b6138a8cdcc
BLAKE2b-256 319d732d2382b6dc54949bfef2e44da7a84af49a19527773ed6c9063b7da5678

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