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

Uploaded Python 3

File details

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

File metadata

  • Download URL: julee-0.1.1.tar.gz
  • Upload date:
  • Size: 189.5 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.1.tar.gz
Algorithm Hash digest
SHA256 6dfb86aa22a38512a104eb081b8b72f358a51bcb2aa8a07045453317795cd678
MD5 67f4ab9d40156d2ca72d402ff9889d30
BLAKE2b-256 47721b5a6cbdbe5c1afaa745471d1acb5d86af1fd2a9769b01fa9ec0ffaeb55f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: julee-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e10667b0d4d70f616aa8d4c5636282d898fe0c386663c5a988804a422a75ca08
MD5 4c34d18fd4e3995ab806b1b0af7fea2e
BLAKE2b-256 61c3ea1186f0b1341dd6540507479d4a733321d751713e8a92a8c539f289845c

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