Having multiple environments in which you run an application can prove to be challenging. You have to manage different configurations for each of these environments, and ensure your code can easily switch between environments – with no changes to the code, itself.
With the EPA module that has already been used throughout this series of screencasts, configuring your environment is relatively simple with JSON documents. You can configure a development, production and any other environment with a JSON document and not have to worry about it after that.
But what happens when you need to run your production configuration from within your development environment? Say, perhaps, you want to use your scripts to load files from Amazon S3 into your production database, but you don't have the ability to do this from your production server?
In this episode, you'll see how to do exactly that – to run your local development system with production configuration, allowing you to work with the production services like MongoLab, without needing access to the production web/app server.