From 1851ce3f3ffb82b68c7a78ebe1f3d7636e3d67db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20=C4=B0pek?= Date: Sat, 22 Nov 2025 16:14:17 +0300 Subject: [PATCH] build: Standardize on pnpm for package management and add `init:db` script. --- README.md | 14 ++++++++------ package.json | 1 - 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f86c047..543d417 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ RepoHub provides a unified interface for package discovery and installation acro ### Prerequisites - Node.js 18+ -- npm / pnpm / yarn +- pnpm - Docker (optional, for database) ### Installation @@ -42,8 +42,6 @@ RepoHub provides a unified interface for package discovery and installation acro 2. **Install dependencies:** ```bash - npm install - # or pnpm install ``` @@ -53,10 +51,14 @@ RepoHub provides a unified interface for package discovery and installation acro cp .env.example .env ``` -4. **Run the development server:** +4. **Initialize the Database:** + Run the initialization script to set up the database schema and apply migrations. + ```bash + pnpm init:db + ``` + +5. **Run the development server:** ```bash - npm run dev - # or pnpm dev ``` diff --git a/package.json b/package.json index 9a55442..61073fd 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "lint": "next lint", "type-check": "tsc --noEmit", "test:db": "node scripts/test-db.js", - "init:backend": "chmod +x scripts/init-backend.sh && ./scripts/init-backend.sh", "init:db": "node scripts/init-db.js" }, "dependencies": {