From 811458427593a4172a2cd535cc768db375350dca Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 6 Dec 2025 17:05:21 +0900 Subject: feat(dev): change architecture and directory structure --- README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4d90b2f..eab12fc 100644 --- a/README.md +++ b/README.md @@ -29,32 +29,31 @@ pnpm install docker compose up # Run database migrations -pnpm --filter server db:migrate +pnpm db:migrate -# Start development servers +# Start development server pnpm dev ``` ### Environment Variables -Create `.env` files in each app directory: +Create `.env` file in the root directory: -```pkgs/server/.env +``` DATABASE_URL=postgresql://user:password@localhost:5432/kioku JWT_SECRET=your-secret-key ``` -```pkgs/web/.env -PUBLIC_API_URL=http://localhost:3000 -``` - ## Scripts ```bash -pnpm dev # Start all apps in development -pnpm build # Build all apps +pnpm dev # Start server in development +pnpm dev:client # Start client in development +pnpm build # Build all pnpm test # Run tests pnpm lint # Lint code +pnpm db:migrate # Run database migrations +pnpm db:studio # Open Drizzle Studio ``` ## Documentation -- cgit v1.2.3-70-g09d2