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
After satisfying the prerequisites, generate a Plone project.
125
+
After satisfying the prerequisites and having {ref}`activated an LTS version of Node.js <prerequisites-for-installation-nodejs-label>`, generate a Volto project.
126
126
127
127
```shell
128
128
uvx cookieplone project
@@ -133,8 +133,6 @@ You can accept the default values in square brackets (`[default-option]`) by hit
133
133
134
134
For ease of documentation, we will use the default values and thus create a project using the Volto frontend.
135
135
136
-
To create a project using the ClassicUI frontend instead answer `No` when asked `Use Volto as frontend (Yes/no)`.
137
-
138
136
```{tip}
139
137
See Cookieplone's README for how to [Use options to avoid prompts](https://github.com/plone/cookieplone/?tab=readme-ov-file#use-options-to-avoid-prompts).
140
138
```
@@ -175,18 +173,9 @@ Note that pip normalizes these names, so `plone.volto` and `plone-volto` are the
175
173
[7/20] Python Package Name (project.title):
176
174
[8/20] Should we use prerelease versions? (yes/No):
177
175
[9/20] Plone Version (6.2.0):
178
-
```
179
-
The next questions will determine if you will create a Volto or ClassicUI project.
180
-
```
181
176
[10/20] Use Volto as frontend (Yes/no):
182
-
```
183
-
These two questions are only asked if you choose to create a project using Volto:
184
-
```
185
177
[11/20] Volto Version (19.1.0):
186
178
[12/20] Volto Addon Name (volto-project-title):
187
-
```
188
-
For the remaining questions again we choose the default answer.
189
-
```
190
179
[13/20] Language
191
180
1 - English
192
181
2 - Deutsch
@@ -278,9 +267,9 @@ Proceed? [Y/n]:
278
267
```
279
268
280
269
281
-
### Install the project
270
+
### Install the Volto project
282
271
283
-
To work on your project, you need to install both the backend and frontend.
272
+
To work on your Volto project, you need to install both the Plone backend and frontend.
284
273
285
274
Change your current working directory to {file}`project-title`.
286
275
@@ -304,7 +293,7 @@ When the process completes successfully, it will exit with no message.
304
293
```
305
294
306
295
307
-
### Start Plone backend and Volto frontend
296
+
### Start Plone
308
297
309
298
Plone with Volto for its frontend has two servers: one each for the backend and frontend.
310
299
As such, we need to maintain two active shell sessions, one for each server, to start your Plone site.
@@ -333,17 +322,17 @@ Starting server in PID 93865.
333
322
```
334
323
335
324
336
-
#### Start Volto frontend
325
+
#### Start Plone frontend
337
326
338
327
Create a second shell session in a new window.
339
328
Change your current working directory to {file}`project-title`.
340
-
Start the Volto frontend with the following command.
329
+
Start the Plone frontend with the following command.
341
330
342
331
```shell
343
332
make frontend-start
344
333
```
345
334
346
-
The Volto frontend server starts up and emits messages to the console, and should end with output similar to the following.
335
+
The Plone frontend server starts up and emits messages to the console, and should end with output similar to the following.
347
336
348
337
```console
349
338
webpack 5.90.1 compiled successfully in 14898 ms
@@ -393,9 +382,146 @@ To create a ClassicUI project run the same command as in the section {ref}`creat
393
382
uvx cookieplone project
394
383
```
395
384
396
-
Only when asked `Use Volto as frontend (Yes/no)` you answer `No`!
385
+
You will be presented with a series of prompts.
386
+
You can accept the default values in square brackets (`[default-option]`) by hitting the {kbd}`Enter` key, or enter your preferred values.
387
+
388
+
```{tip}
389
+
See Cookieplone's README for how to [Use options to avoid prompts](https://github.com/plone/cookieplone/?tab=readme-ov-file#use-options-to-avoid-prompts).
390
+
```
391
+
392
+
```{important}
393
+
For {guilabel}`Project Slug`, you must not use any of the Plone core package names listed in [`constraints.txt`](https://dist.plone.org/release/6-latest/constraints.txt).
394
+
Note that pip normalizes these names, so `my.project` and `my-project` are the same package.
395
+
```
396
+
397
+
We accept the default values, except when asked `Use Volto as frontend (Yes/no)` we answer `No`!
0 commit comments