Sets up production, testing, and development environments