Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 498 Bytes

File metadata and controls

27 lines (21 loc) · 498 Bytes

Windows Setup

Expand-Archive hospital-management-enterprise-api.zip
cd hospital-management-enterprise-api
py -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
Copy-Item .env.example .env

Edit .env and use SQLite for a simple local run:

DATABASE_URL=sqlite:///./hospital_api.db
ENVIRONMENT=development

Then:

alembic upgrade head
python -m scripts.seed
uvicorn app.main:app --reload

Open http://localhost:8000/docs.