This commit was merged in pull request #105.
This commit is contained in:
@@ -250,7 +250,7 @@ A CLI that exits immediately is awkward to "deploy." Give the app a long-running
|
||||
2. Run the service locally first, no container, to see it work:
|
||||
|
||||
```bash
|
||||
python serve.py # serves on http://localhost:8000
|
||||
python3 serve.py # serves on http://localhost:8000
|
||||
```
|
||||
|
||||
In another terminal:
|
||||
|
||||
@@ -4,7 +4,7 @@ Standard library only, no pip install, so the container image stays tiny and the
|
||||
dependencies to drift. It reuses the TaskList from tasks.py (Modules 1-2) unchanged.
|
||||
|
||||
Run it:
|
||||
python serve.py # serves on http://localhost:8000
|
||||
python3 serve.py # serves on http://localhost:8000
|
||||
|
||||
Endpoints:
|
||||
GET /health -> {"status": "ok", "version": <APP_VERSION>} (200)
|
||||
|
||||
Reference in New Issue
Block a user