It's not that critical, but I'd say about 3 feet to give the vines room to sprawl out. You also want to hoe up a little hill so water can run away. Too much water can rot the seed before it sprouts an takes ahold. Pumpkins are the same way.
Didn't find the answer you were looking for?