setup local and production env