8000 Fixing a typo and also modifying some other areas that talk about "bi… · symfony/symfony-docs@532e236 · GitHub
[go: up one dir, main page]

Skip to content

Commit 532e236

Browse files
committed
Fixing a typo and also modifying some other areas that talk about "bin/vendor"
1 parent c0ae034 commit 532e236

File tree

3 files changed

+13
-24
lines changed

3 files changed

+13
-24
lines changed

book/installation.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ something like this:
7171
app.php
7272
...
7373
74+
.. _installation-updating-vendors:
75+
7476
Updating Vendors
7577
~~~~~~~~~~~~~~~~
7678

@@ -88,7 +90,7 @@ Step 2: Install vendors
8890

8991
.. code-block:: bash
9092
91-
php bin/composer.phar install
93+
php composer.phar install
9294
9395
This command downloads all of the necessary vendor libraries - including
9496
Symfony itself - into the ``vendor/`` directory.

cookbook/workflow/new_project_git.rst

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,8 @@ git repository:
5959
6060
$ git commit -m "Initial commit"
6161
62-
8. Finally, download all of the third-party vendor libraries:
63-
64-
.. code-block:: bash
65-
66-
$ php bin/vendors install
62+
8. Finally, download all of the third-party vendor libraries by
63+
executing composer. For details, see :ref:`installation-updating-vendors`.
6764

6865
At this point, you have a fully-functional Symfony2 project that's correctly
6966
committed to git. You can immediately begin development, committing the new
@@ -77,9 +74,9 @@ changes to your git repository.
7774
7875
$ php bin/vendors install
7976
80-
your project will contain complete the git history of all the bundles
81-
and libraries defined in the ``deps`` file. It can be as much as 100 MB!
82-
You can remove the git history directories with the following command:
77+
your project will contain complete the git history of some of the bundles
78+
and libraries defined in ``composer.json``. You can remove the git history
79+
directories with the following command:
8380

8481
.. code-block:: bash
8582
@@ -88,13 +85,6 @@ changes to your git repository.
8885
The command removes all ``.git`` directories contained inside the
8986
``vendor`` directory.
9087

91-
If you want to update bundles defined in ``deps`` file after this, you
92-
will have to reinstall them:
93-
94-
.. code-block:: bash
95-
96-
$ php bin/vendors install --reinstall
97-
9888
You can continue to follow along with the :doc:`/book/page_creation` chapter
9989
to learn more about how to configure and develop inside your application.
10090

cookbook/workflow/new_project_svn.rst

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,14 @@ To get started, you'll need to download Symfony2 and get the basic Subversion se
9797
the project, copy this file to ``parameters.ini``, customize it, and start
9898
developing.
9999

100-
8. Finally, download all of the third-party vendor libraries:
101-
102-
.. code-block:: bash
103-
104-
$ php bin/vendors install
100+
8. Finally, download all of the third-party vendor libraries by
101+
executing composer. For details, see :ref:`installation-updating-vendors`.
105102

106103
.. tip::
107104

108-
`git`_ has to be installed to run ``bin/vendors``, this is the protocol
109-
used to fetch vendor libraries. This only means that ``git`` is used as
110-
a tool to basically help download the libraries in the ``vendor/`` directory.
105+
At the current time, composer uses git to install certain libraries.
106+
This means that ``git`` is used as a tool to basically help download
107+
the libraries in the ``vendor/`` directory.
111108

112109
At this point, you have a fully-functional Symfony2 project stored in your
113110
Subversion repository. The development can start with commits in the Subversion

0 commit comments

Comments
 (0)
0