Skip to content

Commit

Permalink
[Parameters] Reduce parameters user is asked about on install (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom authored Jun 28, 2016
1 parent d59e963 commit 63fc1a6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
14 changes: 14 additions & 0 deletions app/config/default_parameters.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# This file contains defaults for optional parameters, which you can override in parameters.yml
parameters:
locale_fallback: en

# Setting for mail system, used by SwiftMailer
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: ~
mailer_password: ~

# One of `legacy` (default) or `solr`
search_engine: legacy

# Solr root endpoint, relevant if `solr` is set as search_engine
solr_dsn: http://localhost:8983/solr

## Logging settings
# Log type is one of "stream", "error_log" or other types supported by monolog
log_type: stream
Expand Down
13 changes: 0 additions & 13 deletions app/config/parameters.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
parameters:
# A secret key that's used to generate certain security-related tokens
secret: ThisTokenIsNotSoSecretChangeIt
locale_fallback: en

# Setting for mail system, used by SwiftMailer
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: ~
mailer_password: ~

# Settings for database backend used by Doctrine DBAL
# In turn used for Content Repository Persistence, and default database powered search engine
Expand All @@ -18,9 +11,3 @@ parameters:
database_name: ezplatform
database_user: root
database_password:

# One of `legacy` (default) or `solr`
search_engine: legacy

# Solr root endpoint, relevant if `solr` is set as search_engine
solr_dsn: http://localhost:8983/solr
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"___symfony-assets-install": "One of 'symlink', 'relative' (symlinks) or 'hard'",
"symfony-assets-install": "relative",
"incenteev-parameters": {
"keep-outdated": true,
"file": "app/config/parameters.yml"
},
"branch-alias": {
Expand Down

0 comments on commit 63fc1a6

Please sign in to comment.