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
Copy file name to clipboardExpand all lines: docs/developer-guide/create-control-panel.md
+27-17Lines changed: 27 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -226,34 +226,44 @@ To manually register a view as a control panel, add the following registration t
226
226
227
227
After you perform the above steps for the manual process, you must restart the Plone site. To stop a running Plone instance, press {kbd}`ctrl-c` in the terminal where Plone is running. To start it again, use the appropriate command based on your installation method:
228
228
229
-
````{tab-set}
229
+
`````{tab-set}
230
230
231
-
```{tab-item} Buildout
232
-
To start a Plone instance installed with Buildout:
233
-
`bin/instance fg`
231
+
````{tab-item} buildout
232
+
```shell
233
+
bin/instance fg
234
234
```
235
+
````
235
236
236
-
```{tab-item} Pip
237
-
To start a Plone instance installed with Pip:
238
-
`bin/runwsgi -v instance/etc/zope.ini`
237
+
````{tab-item} pip
238
+
```shell
239
+
bin/runwsgi -v instance/etc/zope.ini
239
240
```
241
+
````
240
242
241
-
```{tab-item} Cookiecutter (Backend only)
242
-
To start a Plone backend instance created with the Cookiecutter template:
243
-
`make backend-start`
243
+
````{tab-item} Cookieplone
244
+
For a backend add-on only, use the following command.
245
+
246
+
```shell
247
+
make backend-start
244
248
```
245
249
246
-
```{tab-item} Cookiecutter (Full stack)
247
-
For a full stack setup with both backend and frontend:
250
+
For both a backend and frontend add-on project, open two separate terminal sessions.
251
+
252
+
In the first session, start the backend.
248
253
249
-
1. Start the backend in one terminal:
250
-
`make backend-start`
251
-
2. Start the frontend in another terminal:
252
-
`make frontend-start`
254
+
```shell
255
+
make backend-start
253
256
```
254
257
258
+
In the second session, start the frontent.
259
+
260
+
```shell
261
+
make frontend-start
262
+
```
255
263
````
256
264
265
+
`````
266
+
257
267
Your control panel should now appear in {guilabel}`Site Setup`.
258
268
259
269
@@ -426,4 +436,4 @@ You will still need to set up {file}`registry.xml` with default values as descri
426
436
427
437
```{seealso}
428
438
See the chapter {ref}`training:controlpanel-label` from the Mastering Plone 6 Training.
0 commit comments