They are primarily a dawn/dusk creature, sometimes out in the day. Out in the middle of the night during the breeding season.
They are temperate, so you will have to provide a cool season (usually coincides with the wet season). Not cold. House temperatures should be fine, except in summer when you need to make sure they don't get too hot or dry.
Primary diet is slugs, thin-shelled snails. I don't know if they can handle hard-shelled snails. They may eat crickets (pull the back legs off so they can't jump). The need to supplement is going to be dependent on what the slugs are eating. Couldn't hurt though. You can also consider vitamin-supplemented water. You could also try small feeder-guppies. You'll need to make sure the slugs haven't been exposed to pesticides or herbicides (you could start a colony, especially for wintertime.)
Besides woodland areas, they like areas with heavy ground cover. A bed of ivy near a lot of grass is where I find them. They like cover and are shy.
They won't get much bigger then a pencil, maybe a bit longer. A very small snake. I named mine Nightcrawler, because when I found him I thought he was a nightcrawler worm. (I picked him up to move him off the steps before someone stepped on him, and he turned around and bit me. His teeth did not puncture through my skin.)
Absolutely make sure that it either can't reach the lid, or that the lid is incredibly small mesh screen. They are escape artists and their tiny size makes them impossible to find if they get out. (Unfortunately, Nightcrawler's cage was on the top of a cage next to my bearded dragon's cage. He got out and went into my dragon's cage. My dragon ate him. The snake had a nasty wild strain of coccidia....it killed my dragon in a horrible way.)
Also, unless you get a clean bill of health from a reptile vet, consider the snake a major disease carrier. (Humans can get coccidia too, got that after a trip to South Amer, very nasty.)
Hope that helps,
Siriana