Experiment - if you have a digital camera and a tripod you can play. Sometimes picking an aperture that gets everything you want in focus and leaving the camera to work the rest out works. Just make a note of the exposure time the camera calculates. If it turns out to be too long or too short then take over full manual control and try inputting a different setting.