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
-
Set up environment variables:
cp .env.example .env
Edit
.envand add your API keys:ANTHROPIC_API_KEY=your_anthropic_api_key_here GEMINI_API_KEY=your_gemini_api_key_here
-
Run the application:
docker compose up --build -d
-
Access the services:
- Web UI: http://localhost:3000
- API: http://localhost:8000
- API Docs: http://localhost:8000/docs
- Temporal UI: http://localhost:8001 (linked in the UI)
- MinIO Console: http://localhost:9001
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
- Navigate to Specifications in the UI
- Click "Run Assembly" on the Meeting Minutes specification
- Select a document from the dropdown
- Click "Start Assembly" to trigger the workflow
- 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:
- URL: http://localhost:9001
- Username:
minioadmin - Password:
minioadmin
Architecture
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ React UI │────│ FastAPI │────│ Temporal │
│ (vite:3000) │ │ (uvicorn:8000)│ │ Worker │
└─────────────────┘ └─────────────────┘ └─────────────────┘
│ │
│ │
┌─────────────────┐ ┌─────────────────┐
│ MinIO │ │ PostgreSQL │
│ (storage) │ │ (temporal) │
└─────────────────┘ └─────────────────┘
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file julee-0.1.0.tar.gz.
File metadata
- Download URL: julee-0.1.0.tar.gz
- Upload date:
- Size: 189.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f41f9dab3f2b6d5996c269d16f7679d948f7e0ea75ff874760d510553cfef800
|
|
| MD5 |
257411e4c3c6e80ed04bcd07e4e346e3
|
|
| BLAKE2b-256 |
b13c73207a846b2c1cabaf9204ccc1b8a089f5f4ac075d46641809f19f613cf6
|
File details
Details for the file julee-0.1.0-py3-none-any.whl.
File metadata
- Download URL: julee-0.1.0-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.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa055909058eead9a7ca09530c2ee4be8fb51ddf20aa85d7046f2c892606807b
|
|
| MD5 |
a66450431f1abb13eae8de0329ee452b
|
|
| BLAKE2b-256 |
2efcfabadb04a98f08d7343c4953db9a01ac981b6fece4c093356191592fd50b
|