Skip to content
This repository was archived by the owner on Apr 4, 2019. It is now read-only.

Commit 3d1fadb

Browse files
committed
Git Install Doc: Composer before folder rights
Needed as legacy is now installed via composer.
1 parent 28f8846 commit 3d1fadb

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

INSTALL.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,28 @@
2626
Follow normal eZ Publish upgrade procedures for upgrading the distribution files and moving over extensions as found for instance here:
2727
http://doc.ez.no/eZ-Publish/Upgrading/Upgrading-to-5.0/Upgrading-from-4.7-to-5.0
2828

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**:
3051

3152
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**.
3253
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,27 +95,6 @@
7495
$ sudo find {ezpublish/{cache,logs,config},ezpublish_legacy/{design,extension,settings,var},web} -type f | sudo xargs chmod -R 666
7596
```
7697

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-
9898
## Configure the system
9999

100100
1. *Optional* Upgrade Configuration: Generate eZ Publish 5 yml configuration

0 commit comments

Comments
 (0)