Skip to content

Improve run.sh developer experience (idempotent venv + prod mode) #2

Description

@gupta-8

Problem

run.sh always creates a new venv and always runs uvicorn --reload.
This is inconvenient and not production-friendly.

Proposal

  • Make venv creation idempotent (only create if missing).
  • Allow toggling reload via env (e.g., RELOAD=1).
  • Add a separate run_prod.sh or document production command.

Acceptance Criteria

  • Running bash run.sh twice doesn't recreate the venv unnecessarily.
  • Reload behavior is configurable.
  • README includes dev vs prod commands.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions