This is an appeal mainly, I suppose, to the EE's and others in the forum who have more electrical/electronic knowledge than me, which is most of you 
I'm looking to design and make around 10 light boxes that will mount on top of the railing posts of my deck and the fence posts in my backyard. I'm not worried about the physical design of the boxes. What I need help/guidance with is the electronic portion. To start I'm looking at the following characteristics:
Thanks in advance for any and all assistance.

I'm looking to design and make around 10 light boxes that will mount on top of the railing posts of my deck and the fence posts in my backyard. I'm not worried about the physical design of the boxes. What I need help/guidance with is the electronic portion. To start I'm looking at the following characteristics:
- provide enough light to provide some illumination of the ground from 5 feet/1.75M high, for 4 to 5 hours;
- have a roof with 2 sloping sides, 1 of which will face sunward. They should receive decent sunlight for 5 to 7 hours per day, maybe a little more;
- use rechargeable batteries, preferably AA, but others could be used if it's deemed more suitable;
- use LED(s). Not sure which ones; looking for suggestions;
- suitable for outdoor use;
- hopefully, a sensor that would only turn the lights on when it gets to dusk or a little beyond.
Thanks in advance for any and all assistance.
Comment