Skip to content
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

Configuration different between ends #7

Open
yecine06 opened this issue Feb 20, 2017 · 3 comments
Open

Configuration different between ends #7

yecine06 opened this issue Feb 20, 2017 · 3 comments

Comments

@yecine06
Copy link

Hello,

Is there a way to manage differences between envs in the configuration file.

If the path is different or the app_name ?

Thanks

@nickfan
Copy link
Owner

nickfan commented Feb 20, 2017

usually i will use envoy.config.development.php and envoy.config.production.php 2 files to storage different settings and Create a symbolic link envoy.config.php to the right one.

you could change the $deploy_basepath in your config file for different path.

@yecine06
Copy link
Author

when I do this the .env file doesn't sync correctly

instead it syncs and symlink envoy.config.production.php

@nickfan
Copy link
Owner

nickfan commented Feb 22, 2017

the .env file and envoy.config.php are different files for different purposes.
usually i will create .env.production , .env.development , .env.testing env files for different environments and Create a symbolic link .env to the right one.
and envoy.config.development.php, envoy.config.production.php link to envoy.config.php for the same reason.
i haven't see any how your situation would happens. Perhaps, you could describe more particularly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants