docs(readme): improve formatting and structure of setup instructions
This commit is contained in:
parent
2b4a8050d7
commit
b0a8271040
1 changed files with 7 additions and 7 deletions
14
README.md
14
README.md
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue