mirror of
https://github.com/calesthio/OpenMontage.git
synced 2026-08-05 15:20:40 +08:00
Fix ComparisonCard and CalloutBox dark-theme passthrough in SceneRenderer. Add 8 demo-props JSON files (3 fixed originals + 5 new compositions). Update scene-director and compose-director skills with all 10 Remotion scene types and zero-key rendering guidance. Document the proven all-dark-background formula in remotion.md. Add cinematic renderer, onboarding skill, prompt gallery, and demo render script.
68 lines
1.8 KiB
Makefile
68 lines
1.8 KiB
Makefile
.PHONY: setup install install-dev install-gpu test test-contracts lint clean preflight demo
|
|
|
|
# ---- One-command setup ----
|
|
|
|
setup:
|
|
@echo "==> Installing Python dependencies..."
|
|
pip install -r requirements.txt
|
|
@echo ""
|
|
@echo "==> Installing Remotion composer..."
|
|
cd remotion-composer && npm install
|
|
@echo ""
|
|
@echo "==> Installing free offline TTS (Piper)..."
|
|
pip install piper-tts || echo " [skip] piper-tts install failed — TTS will use cloud providers instead"
|
|
@echo ""
|
|
@if [ ! -f .env ]; then \
|
|
cp .env.example .env; \
|
|
echo "==> Created .env from .env.example — add your API keys there."; \
|
|
else \
|
|
echo "==> .env already exists — skipping."; \
|
|
fi
|
|
@echo ""
|
|
@echo "Done! Open this project in your AI coding assistant and start creating."
|
|
@echo " Optional: add API keys to .env to unlock cloud providers."
|
|
@echo " Optional: run 'make install-gpu' if you have an NVIDIA GPU."
|
|
|
|
# ---- Individual installs ----
|
|
|
|
install:
|
|
pip install -r requirements.txt
|
|
|
|
install-dev:
|
|
pip install -r requirements-dev.txt
|
|
|
|
install-gpu:
|
|
pip install -r requirements-gpu.txt
|
|
pip install diffusers transformers accelerate
|
|
|
|
# ---- Testing ----
|
|
|
|
test:
|
|
pytest tests/ -v
|
|
|
|
test-contracts:
|
|
pytest tests/contracts/ -v
|
|
|
|
# ---- Utilities ----
|
|
|
|
preflight:
|
|
python -c "from tools.tool_registry import registry; import json; registry.discover(); print(json.dumps(registry.provider_menu(), indent=2))"
|
|
|
|
demo:
|
|
@echo "==> Rendering zero-key demo videos (no API keys needed)..."
|
|
@echo " These use only Remotion components — animated charts, text, data viz."
|
|
@echo ""
|
|
./render-demo.sh
|
|
|
|
demo-list:
|
|
@./render-demo.sh --list
|
|
|
|
lint:
|
|
python -m py_compile tools/base_tool.py
|
|
python -m py_compile tools/tool_registry.py
|
|
python -m py_compile tools/cost_tracker.py
|
|
|
|
clean:
|
|
find . -type d -name __pycache__ -exec rm -rf {} +
|
|
find . -type f -name "*.pyc" -delete
|