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
To install Plone 6, you must satisfy system requirements and pre-requisites.
36
-
37
-
```{todo}
38
-
Add any missing requirements, including disk space.
39
-
```
40
-
41
-
- 2GB if using a container image, 4GB RAM if installing manually.
42
-
- Disk space (TBD).
43
-
- Either a UNIX-like operating system—such as Linux, Ubuntu, macOS—or Windows.
44
-
For Windows, it is a good idea to use [Windows Subsystem for Linux (WSL)](https://docs.microsoft.com/en-us/windows/wsl/).
45
-
We strongly recommend using a recent version of your operating system released within the last 3 years.
46
-
Older systems might not be supported.
47
-
- Python 3.7, 3.8, or 3.9.
48
-
- Node.js 14 or 16.
49
-
- For Plone images, a container engine to develop, manage, and run OCI containers.
50
-
51
-
52
-
(install-index-choose-installation-method-label)=
53
-
54
-
## Choose an installation method
55
-
56
-
Developers may either [use the official Plone 6 images](install-index-image-installation-method-label) or [manually install Plone 6](install-index-manual-installation-method-label).
57
-
58
-
The Plone 6 images are compliant with the [Open Container Initiative (OCI)](https://opencontainers.org/).
59
-
They should work with any OCI-compliant container engine for developing, managing, and running Plone 6 images.
60
-
Two popular options include [podman](https://podman.io/) and [Docker](https://www.docker.com/products/docker-desktop/).
61
-
The Plone 6 images have all the system requirements, pre-requisites, and Plone 6 itself already installed, except those requirements needed for running the container engine itself.
62
-
This option is the quickest method to install and develop for Plone 6 and its packages.
63
-
64
-
There may be some cases where using a Plone 6 image is not practical or desired.
65
-
You might want to use an SQL database that is not PostgreSQL, or you might use a deployment workflow that has specific requirements.
66
-
For these situations, Plone 6 may be installed manually.
67
-
This method takes longer.
68
-
It might be a challenge if you bump up against system requirements, or need to resolve conflicts between required packages.
See their README files for installation and configuration instructions.
82
-
83
-
84
-
(install-index-manual-installation-method-label)=
85
-
86
-
## Manual installation method
87
-
88
-
As an overview, you will perform the following steps in order.
89
-
90
-
1. Install the Plone backend (which includes the Classic UI) with either [buildout](install-index-install-backend-label) or [pip](install-index-install-backend-pip-label).
91
-
1. Create the Plone Site in a web browser, choosing either the new Volto or the Classic UI for a frontend.
92
-
1. Install the Plone frontend (Volto) with node.
93
-
94
-
95
-
(install-index-install-backend-label)=
96
-
97
-
### Install the Plone backend
98
-
99
-
You can install the Plone backend with either [buildout](install-index-install-backend-label) or [pip](install-index-install-backend-pip-label).
100
-
101
-
102
-
(install-index-install-backend-buildout-label)=
103
-
104
-
#### Install backend with buildout
105
-
106
-
Create a new directory to hold your project, make it your current directory, and create a new file inside it called `buildout.cfg`.
107
-
This file will refer to the latest version of Plone, and the `user` value that will be used in the next step to create a Plone site.
108
-
Paste the following configuration information into it.
# Create a Plone 6 site with the given username and password in the current directory
150
-
bin/mkwsgiinstance -u admin:admin -d .
151
-
# Initialize Zope
152
-
bin/runwsgi -v etc/zope.ini
153
-
```
154
-
155
-
```{warning}
156
-
You might need to edit `etc/zope.conf` to add a `blobstorage` node with a `blob-dir` entry.
157
-
See [issue 3345](https://github.com/plone/Products.CMFPlone/issues/3345#issuecomment-953700024).
158
-
```
159
-
160
-
161
-
(install-index-create-plone-site-label)=
162
-
163
-
## Create a Plone site
164
-
165
-
After you have installed the backend with buildout or pip, open a browser and visit http://localhost:8080/.
166
-
167
-
Choose either Volto or Classic UI for the frontend.
168
-
169
-
- For a new Volto frontend, click {guilabel}`Create a new Plone site` to prepare a Plone site and its backend.
170
-
171
-
```{note}
172
-
If this button is not available, then you did not install `plone.volto` with buildout or pip.
173
-
```
174
-
175
-
```{attention}
176
-
For Volto, make sure the `Path` identifier is `Plone`.
177
-
You can change this, but then you need to change some Volto frontend configuration as well.
178
-
```
179
-
180
-
- For a Plone Classic UI frontend, click {guilabel}`Create Classic Plone site`.
181
-
182
-
Submit the form and your backend is ready.
183
-
184
-
If you created a Plone site with a Classic UI frontend, then you have completed installation.
185
-
186
-
If a created a Plone site with a Volto frontend, continue with the next steps.
187
-
188
-
189
-
(install-index-volto-frontend-node-label)=
190
-
191
-
## Volto frontend with node
192
-
193
-
We recommend that you read the chapter {ref}`frontend-getting-started-installing-volto-label` for details.
194
-
195
-
196
-
(install-index-nvm-node-version-manager-label)=
197
-
198
-
### `nvm`, the Node Version Manager
199
-
200
-
We recommend that you install [`nvm`, or Node Version Manager](https://github.com/nvm-sh/nvm).
201
-
This makes it possible to switch to any version of [`node` (Node.JS)](https://nodejs.org/en/) and [`npm` (Node Package Manager)](https://www.npmjs.com/) for any project on which you might work.
202
-
203
-
- On Linux: `apt-get install nvm`
204
-
- On Mac: `brew install nvm`
205
-
- Or use the installation procedure detailed in the [nvm documentation](https://github.com/nvm-sh/nvm)
206
-
207
-
With `nvm` installed, you can use it to install and use a supported version of `node` and `npm` using the following shell commands.
208
24
209
-
```shell
210
-
nvm install 16
211
-
nvm use 16
212
-
```
213
-
214
-
215
-
(install-index-install-yarn-label)=
216
-
217
-
## Install Yarn
218
-
219
-
Volto requires [Yarn Classic](https://classic.yarnpkg.com/lang/en/), a dependency manager for JavaScript code.
220
-
Install Yarn with the following command.
221
-
222
-
```shell
223
-
npm install --global yarn
224
-
```
225
-
226
-
227
-
(install-index-create-volto-project-label)=
228
-
229
-
### Create a Volto project
230
-
231
-
Create a Volto project using the following shell command.
232
-
233
-
```shell
234
-
npm init yo @plone/volto
235
-
```
236
-
237
-
This will take some time ☕️.
238
-
Toward the end of the process, it will ask you for a project name.
239
-
Enter the name of your project, using only lowercase letters.
240
-
It will create a directory with this name.
241
-
Go to that directory and start the frontend with the following command.
25
+
```{toctree}
26
+
:maxdepth: 2
27
+
:hidden: true
242
28
243
-
```shell
244
-
yarn start
29
+
containers/index
30
+
source
245
31
```
246
-
247
-
In your browser, visit [http://localhost:3000](http://localhost:3000/).
248
-
249
-
Congratulations!
250
-
You have completed the installation of Plone 6 with Volto for its frontend.
251
-
Welcome to Plone 6!
252
-
253
-
254
-
(install-index-additional-references-label)=
255
-
256
-
## Additional references
257
-
258
-
-[Installation instructions from the Mastering Plone 6 training](https://training.plone.org/5/mastering-plone/installation.html)
-[Community post](https://community.plone.org/t/our-pip-based-development-workflow-for-plone/14562) on work in progress with [`plone-kickstarter`](https://github.com/bluedynamics/plone-kickstarter) and [`mxdev`](https://github.com/bluedynamics/mxdev).
0 commit comments