Browse code

add install instructions for composer

Hanno Böck authored on30/10/2016 10:08:03
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,15 @@
1
+Installing composer dependencies
2
+================================
3
+
4
+We use composer to install PHP dependencies. These are defined in the
5
+file composer.json, the current dependency metadata is in composer.lock.
6
+
7
+To fetch the dependencies:
8
+
9
+* Get composer.phar as described at
10
+  https://getcomposer.org/download/
11
+* run [path_to]/composer.phar install in the webroot.
12
+
13
+This will install all required dependencies to the directory vendor.
14
+The vendor directory is listed in .gitignore to avoid committing
15
+duplicates of upstream projects.