danielraffel / podscriber

GNU General Public License v3.0
0 stars 0 forks source link

Automate Deployment to Ubuntu Server and Manage Python Dependencies #4

Open danielraffel opened 4 weeks ago

danielraffel commented 4 weeks ago

I want to automate the deployment of repo_root to a GCP Ubuntu server and ensure dependencies are managed efficiently using uv. The goal is to create a pipeline that:

  1. Deploys the repo to the root directory on the Ubuntu server.
  2. Ensures uv is installed, and if not, installs it.
  3. Syncs dependencies via uv sync from pyproject.toml.
  4. Starts Uvicorn to serve the FastAPI app.

The deployment should be triggered every time changes are pushed to the main branch.


Tasks:

Stage 1: GitHub Actions Setup

Stage 2: Install and Verify uv on Ubuntu

Stage 3: Sync Dependencies

Stage 4: Start Uvicorn Server

Stage 5: Testing and Debugging


Future Enhancements: