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/getting_started/install_ibexa_dxp.md
+38-23Lines changed: 38 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ month_change: true
13
13
14
14
!!! note "Installing [[= product_name_oss =]]"
15
15
16
-
This installation guide shows in details how to install [[= product_name =]] for users who have a subscription agreement with [[= product_name_base =]].
16
+
This installation guide shows in detail how to install [[= product_name =]] for users who have a subscription agreement with [[= product_name_base =]].
17
17
If you want to install [[= product_name_oss =]], you don't need authentication tokens or an account on updates.ibexa.co, but must adapt the steps shown here to the product edition and the `ibexa/oss-skeleton` repository.
18
18
19
19
## Prepare work environment
@@ -29,7 +29,7 @@ Additional requirements:
29
29
30
30
For production, you need to [configure an HTTP server](#configure-an-http-server), Apache or nginx (Apache is used as an example below).
31
31
32
-
Before getting started, make sure you review other [requirements](requirements.md) to see the systems that is supported and used for testing.
32
+
Before getting started, make sure you review other [requirements](requirements.md) to see the systems that are supported and used for testing.
33
33
34
34
### Get Composer
35
35
@@ -68,12 +68,12 @@ Log in to your Service portal on [support.ibexa.co](https://support.ibexa.co/),
2. Fill in a label describing the use of the token.
70
70
This allows you to revoke access later.
71
-
3. Save the password,**you aren't able to access it again**.
71
+
3. Save the password.**You won't be able to access it again**.
72
72
73
73
!!! tip "Save the authentication token in `auth.json` to avoid re-typing it"
74
74
75
75
Composer asks whether you want to save the token every time you perform an update.
76
-
If you prefer, you can decline and create an `auth.json` file globally in [`COMPOSER_HOME`](https://getcomposer.org/doc/03-cli.md#composer-home) directory for machine-wide use:
76
+
If you prefer, you can decline and create an `auth.json` file globally in the [`COMPOSER_HOME`](https://getcomposer.org/doc/03-cli.md#composer-home) directory for machine-wide use:
@@ -164,7 +164,11 @@ To use Composer to instantly create a project in the current folder with all the
164
164
165
165
<a id="authentication-token"></a>If you added credentials to the `COMPOSER_AUTH` variable, at this point add this variable to `auth.json` (for example, by running `echo $COMPOSER_AUTH > auth.json`).
166
166
167
-
!!! tip
167
+
!!! caution "Security advisories"
168
+
169
+
If you encounter security advisories that prevent the install, see [Package security advisories](security_advisories.md#package-security-advisories).
170
+
171
+
!!! tip "Version constraint"
168
172
169
173
You can set [different version constraints](https://getcomposer.org/doc/articles/versions.md), for example, specific tag (`[[= latest_tag_4_6 =]]`), version range (`~4.6.10`), or stability (`^4.6@rc`):
Before executing the command make sure that the database user has sufficient permissions.
290
+
Before executing the command, make sure that the database user has sufficient permissions.
276
291
277
292
### Run post-installation script
278
293
@@ -290,7 +305,7 @@ For development you can use the built-in PHP server.
290
305
php -S 127.0.0.1:8000 -t public
291
306
```
292
307
293
-
Your PHP web server is accessible at `http://127.0.0.1:8000`
308
+
Your PHP web server is accessible at `http://127.0.0.1:8000`.
294
309
295
310
You can also use [Symfony CLI](https://symfony.com/download):
296
311
@@ -300,7 +315,7 @@ symfony serve
300
315
301
316
## Prepare installation for development
302
317
303
-
Consider adding the Symfony DebugBundle which fixes memory outage when dumping objects with circular references.
318
+
Consider adding the Symfony DebugBundle, which prevents running out of memory when dumping objects with circular references.
304
319
The DebugBundle contains the [VarDumper]([[= symfony_doc =]]/components/var_dumper.html) and [its Twig integration]([[= symfony_doc =]]/components/var_dumper.html#debugbundle-and-twig-integration).
305
320
306
321
```bash
@@ -313,7 +328,7 @@ For detailed information about request treatment, you can also install [Symfony
313
328
composer require --dev symfony/profiler-pack
314
329
```
315
330
316
-
To get both features in one go use:
331
+
To get both features in one go, use:
317
332
318
333
```bash
319
334
composer require --dev symfony/debug-pack
@@ -325,7 +340,7 @@ To use [[= product_name =]] with an HTTP server, you need to [set up directory p
325
340
326
341
### Set up permissions
327
342
328
-
For development needs, the web user can be made the owner of all your files (for example with the `www-data` web user):
343
+
For development needs, the web user can be made the owner of all your files (for example, with the `www-data` web user):
@@ -336,7 +351,7 @@ Future files and directories created by these two users need to inherit those pe
336
351
337
352
!!! caution
338
353
339
-
For security reasons, in production, the web server cannot have write access to other directories than `var`.
354
+
For security reasons, in production, the web server mustn't have write access to any directory other than `var`.
340
355
Skip the step above and follow the link below for production needs instead.
341
356
342
357
You must also make sure that the web server cannot interpret the files in the `var` directory through PHP.
@@ -370,18 +385,18 @@ Prepare a [virtual host configuration](https://en.wikipedia.org/wiki/Virtual_hos
370
385
371
386
Finally, restart the Apache server.
372
387
The command may vary depending on your Linux distribution.
373
-
For example, on Ubuntu use:
388
+
For example, on Ubuntu, use:
374
389
375
390
``` bash
376
391
service apache2 restart
377
392
```
378
393
379
394
=== "nginx"
380
395
381
-
You can use [this example vhost file](https://raw.githubusercontent.com/ibexa/post-install/main/resources/templates/nginx/vhost.template) and modify it to fit your project. You also need the `ibexa_params.d` files that should reside in a subdirectory below where the main file is, [as is shown here](https://github.com/ibexa/post-install/tree/main/resources/templates/nginx).
396
+
You can use [this example vhost file](https://raw.githubusercontent.com/ibexa/post-install/main/resources/templates/nginx/vhost.template) and modify it to fit your project. You also need the `ibexa_params.d` files, which should reside in a subdirectory below the main file, [as shown here](https://github.com/ibexa/post-install/tree/main/resources/templates/nginx).
382
397
383
398
Specify `/<your installation directory>/public` as the `root`, or ensure `BASEDIR` is set in the environment.
384
-
Ensure `APP_ENV` is set to `prod` or `dev` in the environment, depending on the environment that you're configuring, and uncomment the line that starts with `#if[APP_ENV`.
399
+
Ensure `APP_ENV` is set to `prod` or `dev` in the environment, depending on which environment you're configuring, and uncomment the line that starts with `#if[APP_ENV]`.
385
400
386
401
When the virtual host file is ready, enable the virtual host and disable the default.
0 commit comments