It means mostly "to accomplish". Yes, it's appropriate if the author wanted to say to accomplish the task of having a feast.