There really is no good way to make it work well without good ground rod(s). Your electric fence will only be as good as it's ground. If you are in a wet location it is fairly easy to get a good ground, but dryer soil requires several ground rods (space them 6-8 ft apart and electrically bond them together WELL) to get good operation. And don't use a cheesy little wire for the ground conductor.
I have used solar powered electric fences for many years, and besides weeds on the fence, my worst problems were bad grounds. Once I learned that, life was better. Now I live in town and don't need that knowledge anymore.

I actually miss the cow sometimes.