Skip to content

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Nov 13, 2017

No description provided.

@wouterj wouterj added this to the 4.0 milestone Nov 13, 2017
@wouterj wouterj force-pushed the flex/configuration-sub branch from 6e82d96 to fff3c38 Compare November 13, 2017 22:13
<import resource="config.xml" />
</imports>
// ...
$confDir = dirname(__DIR__).'/config';
Copy link
Member

Choose a reason for hiding this comment

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

$this->getProjectDir()? in line with the latest changes symfony/recipes#244.

// app/config/config_benchmark.php
$loader->import('config_prod.php');
// config/benchmark/web_profiler.php
Copy link
Member

Choose a reason for hiding this comment

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

config/packages/benchmark/web_profiler.php?

# .env
DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?charset=utf8mb4&serverVersion=5.7"
This variable is referenced in the serivce container configuration using
Copy link
Member

Choose a reason for hiding this comment

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

typo service

Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

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

Nice!

* Loaded in all environments, ``config/packages/framework.yaml`` configures the
framework with some ``secret`` setting;
* In the **prod** environment, nothing extra will be set as there is no
``config/packages/prod`` directory;
Copy link
Member

Choose a reason for hiding this comment

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

config/packages/prod -> config/packages/prod/

@wouterj wouterj force-pushed the flex/configuration-sub branch from fff3c38 to 70066bf Compare November 14, 2017 22:58
@wouterj wouterj force-pushed the flex/configuration-sub branch from 70066bf to ad4b3a2 Compare November 14, 2017 22:59
@wouterj
Copy link
Member Author

wouterj commented Nov 14, 2017

Thanks @javiereguiluz @yceruto, fixed all comments you made!

@weaverryan weaverryan merged commit ad4b3a2 into symfony:master Nov 21, 2017
weaverryan added a commit that referenced this pull request Nov 21, 2017
This PR was merged into the master branch. Discussion ---------- Made two more configuration guides flex-ready Commits ------- ad4b3a2 Made two configuration sub guides flex-ready
@weaverryan
Copy link
Member

Thank you @wouterj! I merged accidentally into master, but back-ported to 4.0 at sha: e15e2f3

weaverryan added a commit that referenced this pull request Nov 24, 2017
…iluz, weaverryan) This PR was merged into the 4.0 branch. Discussion ---------- Updated the best practice article about config This was the only remaining article to be updated in "Best Practices". Related to this: * The main config.rst is being updated in ~~#8588~~ * Some config/* articles are being updated in ~~#8647~~. * I'm going to update the rest of config/* articles. Commits ------- 175a4e8 minor tweaks b973f0c Updated the best practice article about config
@wouterj wouterj deleted the flex/configuration-sub branch November 25, 2017 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment