Skip to content

Commit d1995c1

Browse files
committed
updated README
1 parent 5f7647d commit d1995c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ docker logs --tail 10000 -f find-peers
2727
| `./env/.env-example` | Example file for api tokens, rename to `.env` to activate | no |
2828

2929
## Running
30-
The database of this project is in a folder called 'prisma' at the root of the project.
30+
The database of this project is in a folder called 'database' at the root of the project.
3131

3232
### Docker and Docker-compose
3333
This is in production
@@ -44,9 +44,9 @@ docker logs --tail 10000 -f find-peers
4444
- Install Nodejs >= 18.x
4545
- Install dependencies\
4646
`npm install`
47-
- Generate the Prisma client\
47+
- Generate prisma client
4848
`npx prisma generate`
49-
- Run Prisma migration\
50-
`npx prisma migrate dev`
49+
- Push schema directly
50+
`npx prisma db`
5151
- Start development server\
5252
`npm run dev`

0 commit comments

Comments
 (0)