configure env and deployment