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
This example is set up to show how to create a project with our comments plugin installed as well as integrate it with a sample frontend.
4
+
5
+
## 🔧 Getting Started
6
+
7
+
To run this project, you need to prepare two shell windows. One window will be used to set up and run strapi server and the second one will be used to run development server for nextjs frontend.
8
+
9
+
### Strapi Server
10
+
11
+
Install all packages
12
+
13
+
```sh
14
+
cd ./strapi-app
15
+
yarn install
16
+
```
17
+
18
+
Run the server
19
+
20
+
> Before running the strapi server be sure to create your own `.env` file. Example of this file can be found in strapi app folder.
21
+
22
+
```sh
23
+
yarn build
24
+
yarn develop
25
+
26
+
# or
27
+
28
+
yarn develop --watch-admin
29
+
```
30
+
31
+
After that open strapi admin panel and create admin user. The strapi project should be ready to use at this point.
32
+
33
+
### NextJS development server
34
+
35
+
Install all packages
36
+
```sh
37
+
cd ./next-app
38
+
yarn install
39
+
```
40
+
41
+
Run the server
42
+
```sh
43
+
yarn dev
44
+
```
45
+
46
+
After that the nextJs frontend should be ready to use. You can direct to `localhost:3000` to see it.
0 commit comments