From 8d952febf07837bd3f8e8b6d36061b82d9a28528 Mon Sep 17 00:00:00 2001 From: liquidrinu Date: Thu, 15 May 2025 18:02:30 +0200 Subject: [PATCH] fixed readme --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b9bd10d..21b37e6 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ fusero-app-boilerplate/ ## Prerequisites -- Node.js (v18 or higher) +- Node.js (v20 or higher) - npm (v9 or higher) - Docker and Docker Compose - Git @@ -67,6 +67,28 @@ npm run dev ``` The frontend will be available at http://localhost:3000 +### Database Setup + +1. **Create a New Volume** + - Ensure the database volume is created: + ```bash + docker volume create fusero-db-data + ``` + +2. **Run Migrations** + - Apply database migrations to set up the schema: + ```bash + cd backend + npm run migrate + ``` + +3. **Seed the Database** + - Populate the database with initial data: + ```bash + cd backend + npm run seed + ``` + ### Environment Setup 1. **Backend Environment**