Set up local environment and default to production for server