Hello
In most applications, while boundary conditions are not always (enough) available, it is recommended to care that the flow is subcritical. In these cases, only one condition is needed for each boundary to obtain a well posed problem. You can proceed like described by Gabi for instance.
For some special cases, you can have supercritical inlet (and in this case you need 2 conditions) or outlet (and in this case no need for any condition).
I hope that this helps
with my best regards
Riadh