fixed readme
This commit is contained in:
parent
aae1db265a
commit
8d952febf0
24
README.md
24
README.md
@ -14,7 +14,7 @@ fusero-app-boilerplate/
|
|||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- Node.js (v18 or higher)
|
- Node.js (v20 or higher)
|
||||||
- npm (v9 or higher)
|
- npm (v9 or higher)
|
||||||
- Docker and Docker Compose
|
- Docker and Docker Compose
|
||||||
- Git
|
- Git
|
||||||
@ -67,6 +67,28 @@ npm run dev
|
|||||||
```
|
```
|
||||||
The frontend will be available at http://localhost:3000
|
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
|
### Environment Setup
|
||||||
|
|
||||||
1. **Backend Environment**
|
1. **Backend Environment**
|
||||||
|
Loading…
Reference in New Issue
Block a user