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
# Install Plone backend from Scratch – Step by Step
12
+
# Install Plone backend from its Packages – Step by Step
13
13
14
14
15
15
(install-source-stepbystep-backend-start-label)=
@@ -21,7 +21,7 @@ For system requirements and pre-requisites for the installation see {ref}`instal
21
21
We install the Plone backend with `pip`, `cookiecutter-zope-instance`, `mxdev` and other fancy helpers.
22
22
23
23
```{note}
24
-
There will be one single cookiecutter template to install both backend and frontend from scratch. You will find the instructions on {ref}`install-source-installation-jump-label`. That chapter is for you if you want to develop and want to jump in with all steps prepared by an overall cookiecutter. The subsequent sections explain the installation of the backend step by step. You will learn the details of the installation included in the future overall cookiecutter.
24
+
There will be one single cookiecutter template to install both backend and frontend from its packages. You will find the instructions on {ref}`install-source-installation-jump-label`. That chapter is for you if you want to develop and want to jump in with all steps prepared by an overall cookiecutter. The subsequent sections explain the installation of the backend step by step. You will learn the details of the installation included in the future overall cookiecutter.
25
25
```
26
26
27
27
@@ -48,8 +48,6 @@ pip install -U pip wheel
48
48
:class: margin toggle
49
49
The Plone packages and dependencies are installed in trees.
You have done two things so far: You installed your add-on packages and you have prepared an initializing file to roll out a Zope / Plone project, configured to load your installed add-on packages.
188
190
189
-
You are now ready to apply `cookiecutter`to generate the Zope configuration:
191
+
You are now ready to apply `cookiecutter`to generate the Zope configuration:
@@ -225,7 +227,7 @@ Summed up tasks and commands after creating a Zope instance with {ref}`mkwsgiins
225
227
It's time to start the new Zope instance.
226
228
227
229
```shell
228
-
runwsgi instance/etc/zope.ini
230
+
runwsgi -v instance/etc/zope.ini
229
231
```
230
232
231
233
Head over to http://localhost:8080/ and see that Plone is running.
@@ -253,10 +255,12 @@ plone.api>=2.0.0a3
253
255
Unfortunatly pip does not allow this way of overwriting constraints.
254
256
255
257
`mxdev` is made for assembling Plone constraints with your needs of version pinning or source checkouts.\
256
-
It reads your {file}`constraints.txt`, fetches the constraints of Plone and writes a {file}`constraints-mxdev.txt` which combines the constraints. Comments on which Plone constraint is modified assure the readability.
257
-
% TODO language: 'readability'?
258
+
It reads your {file}`requirements.txt` and so your {file}`constraints.txt`, fetches the requirements/constraints of Plone and writes the files {file}`requirements-mxdev.txt` and {file}`constraints-mxdev.txt`.
259
+
Both are containing the combined requirements and constraints, but modified according to the configuration in {file}`mx.ini`.
260
+
The generated files are transparent about where constraints were fetched from and comments are added when a modification was necessary.
258
261
259
-
mxdev operates on three files to tell pip which packages to install with which version.
262
+
In summary, mxdev operates on three files to tell pip which packages to install with which version.
263
+
A minimal example set of files would look like the following.
### Tasks on your backend installation from scratch
155
+
### Tasks on your backend installation from its packages
156
156
157
157
You have installed Plone with `pip` like explained above or in {ref}`install-source-stepbystep-start-label`.
158
158
@@ -376,7 +376,7 @@ Now that you installed your backend and decided to go with the ReactJS frontend,
376
376
377
377
Instead navigate to {doc}`/classic-ui/index` if you do not want a ReactJs based frontend, but prefer to go with a Plone Classic frontend.
378
378
379
-
<!-- TODO strip all down to official Plone 6 frontend installation (from scratch. no docker) (https://6.dev-docs.plone.org/volto/getting-started/install.html#installing-volto) -->
379
+
<!-- TODO strip all down to official Plone 6 frontend installation (from its packages. no docker) (https://6.dev-docs.plone.org/volto/getting-started/install.html#installing-volto) -->
0 commit comments