Fix running composer with respect to different WEBROOT.

The composer configuration should always be located in the project root,
independently where the webroot is located. Closes #95.
This commit is contained in:
Sven Koschnicke
2017-03-20 13:05:41 +01:00
parent 847cd43476
commit 7f2ff02904
3 changed files with 7 additions and 8 deletions

View File

@@ -44,6 +44,8 @@ One example would be, if you are running craft CMS you'll end up with a repo str
In this case __WEBROOT__ would be set as __/var/www/html/public__
Note that if you are managing dependencies with composer, your composer.json and composer.lock files should *always* be located in the repo root, not in the directory you set as __WEBROOT__.
### conf
This directory is where you can put config files you call from your scripts. It is also home to the nginx folder where you can include custom nginx config files.