8000 [4.0] Setup & Page Creation updates by weaverryan · Pull Request #8544 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[4.0] Setup & Page Creation updates #8544

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 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fixing build issues
  • Loading branch information
weaverryan committed Oct 29, 2017
commit f727f17984e302efc4fd80fd0b0e0e9e15b6907f
9 changes: 9 additions & 0 deletions configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,15 @@ signs - e.g. ``%locale%``.
For more information about parameters - including how to reference them from inside
a controller - see :ref:`service-container-parameters`.

.. _config-dot-env:

The .env File
~~~~~~~~~~~~~

There is also a ``.env`` file which is loaded. Its contents become environment variables
in the dev environment, making it easier to reference environment variables in your
code.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be covered more #8546. I just bootstrapped this section so that I could link to it.

.. _config-parameters-yml:

The Special parameters.yml File
Expand Down
2 changes: 1 addition & 1 deletion configuration/micro_kernel_trait.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Building your own Framework with the MicroKernelTrait
=====================================================

A :ref:`traditional Symfony app <installation-creating-the-app>` contains a sensible
A traditional Symfony app contains a sensible
directory structure, various configuration files and an ``AppKernel`` with several
bundles already-registered. This is a fully-featured app that's ready to go.

Expand Down
2 changes: 1 addition & 1 deletion page_creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Now you need to associate this controller function with a public URL (e.g. ``/lu
so that the ``number()`` method is executed when a user browses to it. This association
is defined by creating a **route** in the ``config/routes.yaml`` file:

.. code-block:: yml
.. code-block:: yaml

# config/routes.yaml

Expand Down
3 changes: 1 addition & 2 deletions setup/_vendor_deps.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ you need for each.

By default, these libraries are downloaded by running a ``composer install``
"downloader" binary. This ``composer`` file is from a library called `Composer`_
and you can read more about installing it in the :ref:`Installation <installation-updating-vendors>`
article.
and you can read more about :doc:`installing Composer globally </setup/composer>`.

The ``composer`` command reads from the ``composer.json`` file at the root
of your project. This is an JSON-formatted file, which holds a list of each
Expand Down
0