to live or work together in a friendly enough way
rub along (with sb / together)
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition