Tutorial 'Deployments' - updated code according to current basic tutorials