Skip to content

Remove reference to copying parameters.yml from Git cookbook #3559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions cookbook/workflow/new_project_git.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,31 +44,25 @@ git repository:
in which case, you can find more information here: `Github .gitignore`_
This way you can exclude files/folders often used by your IDE for all of your projects.

4. Copy ``app/config/parameters.yml`` to ``app/config/parameters.yml.dist``.
The ``parameters.yml`` file is ignored by Git (see above) so that machine-specific
settings like database passwords aren't committed. By creating the ``parameters.yml.dist``
file, new developers can quickly clone the project, copy this file to
``parameters.yml``, customize it, and start developing.

5. Initialize your Git repository:
4. Initialize your Git repository:

.. code-block:: bash

$ git init

6. Add all of the initial files to Git:
5. Add all of the initial files to Git:

.. code-block:: bash

$ git add .

7. Create an initial commit with your started project:
6. Create an initial commit with your started project:

.. code-block:: bash

$ git commit -m "Initial commit"

8. Finally, download all of the third-party vendor libraries by
7. Finally, download all of the third-party vendor libraries by
executing Composer. For details, see :ref:`installation-updating-vendors`.

At this point, you have a fully-functional Symfony2 project that's correctly
Expand Down