This is my caresheet. It's based on exactly what I do for my Hognose snake and he's very healthy and active, so chances are it will work for you too:

Housing-Like what most people say, a 10 gallon works for a male (expected length is 16-18 inches) and 20 gallon works for a female (expected length is 24-30 inches). Provide the usual furnishings you put in a terrarium, but don't forget to use a burrowing substrate (I use crushed english walnut shells [CEWS] from Zilla).

Heating-My Hogger's tank has a hot side of 90 degrees F and a cold side of whatever temperature the house is. CEWS absorbs heat very well so an UTH is a great way to provide the heating.

Feeding-Do the usual thing with other snakes. At the moment my Hognose snake is almost a yearling, so I feed him 1 pinky every week and 2 pinkies every third week (that would be this week actually). Be sure to separate the Hogger from the substrate during feeding so it doesn't ingest any of the CEWS (I do this by feeding the snake in an overturned shoebox lid that's placed in the tank at feeding time. When he's done, he slithers out of it and goes to a hide).

If you have any questions about something I didn't cover here, just ask.