How do I make a hinge on the side of a cylinder in solidworks?

I wanted to make a hinge and door hatch on the side of a cylinder (around the circumference), with the door being curved.

Answer
 
Comments 2