If you don't have direct sun, you'll probably have better luck growing things that don't require it. Lettuces, in particular, will grow in a bit of shade. If you have lots of shade, you might do better with ornamentals that do well in the shade, of which there are many.