gateway/notes/readme.md
2025-09-18 17:11:35 +02:00

39 lines
1.2 KiB
Markdown

### Launch APP
cd .\frontend_agents\
cls; python ./server.py
conda activate C:\Users\pmots\anaconda3\envs\poweron
cd .\gateway\
cls; uvicorn app:app --host 0.0.0.0 --port 8000
### git permanent login with vs code
git remote set-url origin https://valueon@github.com/valueonag/gateway
git remote set-url origin https://valueon@github.com/valueonag/frontend_agents
git remote set-url origin https://valueon@github.com/valueonag/wiki
git remote set-url origin https://valueon@github.com/valueonag/customer-svbe
git remote set-url origin https://valueon@github.com/valueonag/customer-althaus
### git delete workflow runs (cleanup)
gh auth login
Navigate to your repository folder (if not already there):
bash: cd /path/to/your/repository
List workflow runs:
bash: gh run list
Delete a specific workflow run:
bash: gh run delete [RUN_ID]
Delete all completed workflow runs (to clear up space):
bash: gh run list --status completed --json databaseId -q '.[].databaseId' | xargs -I{} gh run delete {}
powershell:
$runs = gh run list --status completed --json databaseId -q ".[].databaseId" | ConvertFrom-Json
foreach ($run in $runs) {
Write-Host "Deleting run $run"
echo "y" | gh run delete $run
}