docs: apply fleet-template (16-artifact scaffold)
Adds missing standard artifacts: - README.md (if missing) - AGENTS.md (AI agent contract) - PLAN.md (current sprint) - STATUS.md (where we are) - DEVELOPMENT.md (dev workflow) - DEPLOYMENT.md (deploy procedure) - TESTING.md (test strategy) - DECISIONS.md (ADR index + templates) - .github/CODEOWNERS - .github/workflows/ci.yml Preserves all existing artifacts. Refs: RugMunchMedia/fleet-template
This commit is contained in:
commit
47ba268131
310 changed files with 38429 additions and 0 deletions
29
test.sh
Normal file
29
test.sh
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#!/bin/bash
|
||||
# Build and deploy Pry on contabo
|
||||
set -e
|
||||
|
||||
echo "=== Installing deps ==="
|
||||
cd /home/dev/pry
|
||||
pip install -q fastapi uvicorn trafilatura httpx markdownify pydantic 2>&1 | tail -3
|
||||
|
||||
echo "=== Testing import ==="
|
||||
python3 -c "from scraper import PryScraper; print('PryScraper: OK')"
|
||||
|
||||
echo "=== Testing API import ==="
|
||||
python3 -c "from api import app; print('API: OK')"
|
||||
|
||||
echo "=== Quick scrape test ==="
|
||||
python3 -c "
|
||||
import asyncio
|
||||
from scraper import PryScraper
|
||||
async def test():
|
||||
s = PryScraper()
|
||||
r = await s.scrape('https://example.com')
|
||||
print(f'Status: {r[\"status\"]}')
|
||||
print(f'Method: {r[\"method\"]}')
|
||||
print(f'Content ({len(r.get(\"content\",\"\"))} chars): {r.get(\"content\",\"\")[:200]}')
|
||||
asyncio.run(test())
|
||||
"
|
||||
|
||||
echo ""
|
||||
echo "=== ALL GOOD ==="
|
||||
Loading…
Add table
Add a link
Reference in a new issue