I'd like to begin to move our configs into subfolders for our different environments just as we have for our wa-workers and wa-website projects.

The environment should be controlled through the index.php script.

configs/
- production
- staging
- email-workers
- cronjobs
- development
- kcook
- adroit
....

We can do this in 2 stages. For the first stage no files should be deleted. The new folders should be added and all .default files should be moved to .php. The order.php should have its if(LIVE) section removed because we will have different settings in different environments.

Once the folders are ready I will copy the current configs from each environment into svn. When we push live the environments will be sent within the index.php

After release I will delete the older configs from svn.

Join the Discussion
Write something…
Recent messages
dipeekaT Premium
hello this is my 1st comment
Top