Coming out

So I've been with my boyfriend for nearly 1 year and 5 months. We live together, I'm so in love with him but recently I've finally understood who I am, and that I am attracted  to girls (but also boys) not being to tell anyone in my family for years I've had to bottle it up as I come from a very religious family so I feared I'd be pushed away and not accepted by them, but I've accepted it now and I'm totally fine with it. 
But how do I tell my family and most importantly my boyfriend without ruining anything? Any advice would be appreciated 😕🙈