Files
comfy-deploy-python/.devcontainer/setup.sh
bennykok 6ea0b09d80 init
2024-07-16 14:45:28 -07:00

14 lines
397 B
Bash

#!/bin/bash
# Install the speakeasy CLI
curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/install.sh | sh
# Setup samples directory
rmdir samples || true
mkdir samples
python -m pip install --upgrade pip
pip install -e .
# Generate starter usage sample with speakeasy
speakeasy generate usage -s https://www.comfydeploy.com/api/openapi.json -l python -o samples/root.py