bash into shape

Verb

 * 1)  Of an item, to fix or build it; often in a rough and ready fashion.
 * 2)  Of a person, to train them; often in a strict fashion that covers the essentials.