Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions VC_DEMO_CORRECTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,19 @@

```bash
cd ~/Fixops

# 1. Python environment (only needs to be done once)
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt
Comment on lines +94 to +98
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Install API dependencies from the API requirements file

The new setup section runs pip install -r requirements.txt, but the API server launched a few lines later imports uvicorn. uvicorn is not listed in the top-level requirements.txt; it only appears in apps/api/requirements.txt. On a clean environment, following these steps installs FastAPI but not uvicorn, so python demo_api_server.py fails immediately with ModuleNotFoundError: uvicorn. Please install from apps/api/requirements.txt (or add uvicorn to the root file) so the documented demo commands work on a fresh machine.

Useful? React with 👍 / 👎.


# Environment
# 2. Demo environment variables
export FIXOPS_MODE=demo
export FIXOPS_API_TOKEN=demo-token
export FIXOPS_DISABLE_TELEMETRY=1

# Start API
# 3. Start API
cat > demo_api_server.py << 'PYTHON'
import os
os.environ.setdefault("FIXOPS_MODE", "demo")
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ pydantic>=2.6,<3.0
requests>=2.32,<3.0
pgmpy==0.1.24
PyJWT>=2.8,<3.0
cryptography>=46.0.3,<47.0.0
cffi>=2.0.0
cryptography>=45.0.0,<46.0.0
structlog>=25.4.0,<26.0.0
PyYAML>=6.0.1,<7.0
networkx>=3.5,<4.0
Expand Down
Loading