how to deploy rest