feat(api): Update API to use skill-seekers-configs repository

- Update render.yaml to clone skill-seekers-configs during build
- Update main.py to use configs_repo/official directory
- Add fallback to local configs/ for development
- Update config_analyzer to scan subdirectories recursively
- Update download endpoint to search in subdirectories
- Add configs_repository link to API root
- Add configs_repo/ to .gitignore

This separates config storage from main repo to prevent bloating.
Configs now live at: https://github.com/yusufkaraaslan/skill-seekers-configs
This commit is contained in:
yusyus
2025-12-21 14:26:03 +03:00
parent 3c8603e6b7
commit 5ba4a36906
4 changed files with 19 additions and 6 deletions

View File

@@ -4,7 +4,9 @@ services:
name: skill-seekers-api
runtime: python
plan: free
buildCommand: pip install -r api/requirements.txt
buildCommand: |
pip install -r api/requirements.txt &&
git clone https://github.com/yusufkaraaslan/skill-seekers-configs.git api/configs_repo
startCommand: cd api && uvicorn main:app --host 0.0.0.0 --port $PORT
envVars:
- key: PYTHON_VERSION