mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '3'
This commit is contained in:
commit
4e1d38c209
5
.gitattributes
vendored
5
.gitattributes
vendored
@ -1,4 +1,7 @@
|
|||||||
docs/ export-ignore
|
docs/ export-ignore
|
||||||
|
|
||||||
|
# Line endings
|
||||||
|
sake text eol=lf
|
||||||
|
|
||||||
# Hide diffs
|
# Hide diffs
|
||||||
admin/client/dist/js/ -diff
|
admin/client/dist/js/ -diff
|
||||||
|
@ -11,15 +11,7 @@ We also have separate instructions for [installing modules with Composer](/devel
|
|||||||
|
|
||||||
Before installing Composer you should ensure your system has the version control system, [Git installed](http://git-scm.com/book/en/v2/Getting-Started-Installing-Git). Composer uses Git to check out the code dependancies you need to run your SilverStripe CMS website from the code repositories maintained on GitHub.
|
Before installing Composer you should ensure your system has the version control system, [Git installed](http://git-scm.com/book/en/v2/Getting-Started-Installing-Git). Composer uses Git to check out the code dependancies you need to run your SilverStripe CMS website from the code repositories maintained on GitHub.
|
||||||
|
|
||||||
Next, to install Composer, run the following commands from your command-line.
|
Next, [install composer](https://getcomposer.org/download/). For our documentation we assume composer is installed globally.
|
||||||
|
|
||||||
# Download composer.phar
|
|
||||||
curl -s https://getcomposer.org/installer | php
|
|
||||||
|
|
||||||
# Move to your path
|
|
||||||
sudo mv composer.phar /usr/local/bin/composer
|
|
||||||
|
|
||||||
Or [download composer.phar](http://getcomposer.org/composer.phar) manually, and rename `composer.phar` as `composer`, and put it in your path. On Windows, you should call the file `composer.bat`.
|
|
||||||
|
|
||||||
You can then run Composer commands by calling `composer`. For example:
|
You can then run Composer commands by calling `composer`. For example:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user