I want to successfully nurse!!!

Ashley
This is my second pregnancy. My first pregnancy I tried to nurse but it didn't turn out like I had hoped. She was really jaundicy when she was born so they recommended formula until my milk came in. After that, it was hard to nurse her because it seemed like she wasn't getting enough from me, so I would supplement with formula after she nursed.  That slowly turned into her just wanting the bottle. I pumped exclusively for five months but it was really hard and I never produced enough, she would get maybe a bottle a day from what I could make. Any advice would be very appreciated, I really want to nurse my second baby and not have to supplement! Tia!!!