I'm going to build some gates for my friend's deck.

I obtained all the materials and then they asked about the side porch.

How should I mount a gate here against the house?

[![enter image description here](https://i.stack.imgur.com/6wmjq.jpg)](https://i.stack.imgur.com/6wmjq.jpg)