docs(readme): improve formatting and structure of setup instructions

This commit is contained in:
ryan 2025-06-19 15:43:27 +03:00
parent 2b4a8050d7
commit b0a8271040

View file

@ -33,7 +33,7 @@ git clone git@forge.ftt.gmbh:ryanmwangi/Compareware_next.js.git
cd compareware-nextjs
```
Install dependencies:
2. Install dependencies:
```
npm install
@ -44,31 +44,31 @@ pnpm install
```
# Set up the database:
## Set up the database:
Generate Prisma client
### Generate Prisma client
```
npx prisma generate
```
Create and migrate the database
### Create and migrate the database
```
npx prisma migrate dev
```
or if you don't have migrations set up:
#### or if you don't have migrations set up:
```
npx prisma db push
```
(Optional) Seed the database with initial data:
#### (Optional) Seed the database with initial data:
```
npx prisma db seed
```
Running the Development Server
## Running the Development Server
```
npm run dev
# or