|
26 | 26 | Follow normal eZ Publish upgrade procedures for upgrading the distribution files and moving over extensions as found for instance here: |
27 | 27 | http://doc.ez.no/eZ-Publish/Upgrading/Upgrading-to-5.0/Upgrading-from-4.7-to-5.0 |
28 | 28 |
|
29 | | -3. Setup folder rights **For *NIX users**: |
| 29 | +3. Install the dependencies with [Composer](http://getcomposer.org). |
| 30 | + |
| 31 | + **Note: The following step will also install assets, if you prefer to install assets using hard copy or symlink |
| 32 | + instead of default relative symlink, edit 'symfony-assets-install' setting in composer.json** |
| 33 | + |
| 34 | + **Dev: For dev use change '--prefer-dist' for '--prefer-source' to get full git clones |
| 35 | + and add '--dev' to get phpunit and behat installed.** |
| 36 | + |
| 37 | + Download composer and install dependencies by running: |
| 38 | + ```bash |
| 39 | + cd /<ezpublish-community-root-dir>/ |
| 40 | + curl -s http://getcomposer.org/installer | php |
| 41 | + php -d memory_limit=-1 composer.phar install --prefer-dist |
| 42 | + ``` |
| 43 | + |
| 44 | + Update note: Every time you want to get the latest updates of all your dependencies just run this command: |
| 45 | + ```bash |
| 46 | + cd /<ezpublish-community-root-dir>/ |
| 47 | + php -d memory_limit=-1 composer.phar update --prefer-dist |
| 48 | + ``` |
| 49 | + |
| 50 | +4. Setup folder rights **For *NIX users**: |
30 | 51 |
|
31 | 52 | One common issue is that the `ezpublish/cache`, `ezpublish/logs` and `ezpublish/config` directories **must be writable both by the web server and the command line user**. |
32 | 53 | If your web server user is different from your command line user, you can run the following commands just once in your project to ensure that permissions will be set up properly. |
|
74 | 95 | $ sudo find {ezpublish/{cache,logs,config},ezpublish_legacy/{design,extension,settings,var},web} -type f | sudo xargs chmod -R 666 |
75 | 96 | ``` |
76 | 97 |
|
77 | | -4. Install the dependencies with [Composer](http://getcomposer.org). |
78 | | - |
79 | | - **Note: The following step will also install assets, if you prefer to install assets using hard copy or symlink |
80 | | - instead of default relative symlink, edit 'symfony-assets-install' setting in composer.json** |
81 | | - |
82 | | - **Dev: For dev use change '--prefer-dist' for '--prefer-source' to get full git clones |
83 | | - and add '--dev' to get phpunit and behat installed.** |
84 | | - |
85 | | - Download composer and install dependencies by running: |
86 | | - ```bash |
87 | | - cd /<ezpublish-community-root-dir>/ |
88 | | - curl -s http://getcomposer.org/installer | php |
89 | | - php -d memory_limit=-1 composer.phar install --prefer-dist |
90 | | - ``` |
91 | | - |
92 | | - Update note: Every time you want to get the latest updates of all your dependencies just run this command: |
93 | | - ```bash |
94 | | - cd /<ezpublish-community-root-dir>/ |
95 | | - php -d memory_limit=-1 composer.phar update --prefer-dist |
96 | | - ``` |
97 | | - |
98 | 98 | ## Configure the system |
99 | 99 |
|
100 | 100 | 1. *Optional* Upgrade Configuration: Generate eZ Publish 5 yml configuration |
|
0 commit comments