You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
9. Next is to insert demo data. To do it you need to go to the server/utills folder and call insertDemoData.js:
23
+
9. You will need to run the Prisma migration. Make sure you are in the server folder and write:
24
+
```
25
+
npx prisma migrate dev
26
+
```
27
+
10. Next is to insert demo data. To do it you need to go to the server/utills folder and call insertDemoData.js:
24
28
```
25
29
cd utills
26
30
node insertDemoData.js
27
31
```
28
-
10. Now you can go back to the server folder and run the backend:
32
+
11. Now you can go back to the server folder and run the backend:
29
33
```
30
34
cd ..
31
35
node app.js
32
36
```
33
-
11. While your backend is running you need to open another terminal(don't stop the backend). In the second terminal, you need to make sure you are in your root project folder and write the following:
37
+
12. While your backend is running you need to open another terminal(don't stop the backend). In the second terminal, you need to make sure you are in your root project folder and write the following:
34
38
```
35
39
npm install
36
40
```
37
-
12. After everything is installed, you need to run the Next.js application:
41
+
13. After everything is installed, you need to run the Next.js application:
0 commit comments