Elegantly connecting all the parts is going to be an exercise in problem solving, and you'll have to figure most of it out for yourself, but I can tell you a few things. There's a whole forum for electronics etc, you know... you will find more information there. Anyway:
Dynohubs typically have two wires, whereas bottle generators have only one for each lamp. Your headlight and tail light both have to have a wire to your bottle generator, and be grounded to the frame so it can function as the second wire. The lamps, and the bottle generator, will all usually have a special screw with a sharp point that digs through the paint (

) just to make sure the connection is good. If your headlight has two wires, you can attach one of them to the frame or fork somehow; the front brake pivot bolt is a good spot for that. That will make the connection you need.
To test your lamps, a 1.5 volt battery should be strong enough to get the bulb to light up with no danger of hurting yourself.