Dig a 2-foot wide trench along the outside of your house’s foundation. Make the trench at least 2 feet deep for a slab-on-grade house. Make it 6 feet deep if you have a basement. Make the bottom of the trench slope away from your house.
Put one of the drainage pipes into the trench so that one end is uphill of the other. This will cause the pipe to direct the water that collects in the trench away from your foundation.
Fill the trench with washed rounded gravel between 1 inch and 1 ¼ inches in diameter. Leave 1 foot at the top of the trench. There is more space between the pieces of gravel than there is between particles of dirt. The water in the soil, therefore, flows through the gravel to the bottom of the trench, where it is led away by the pipe.
Measure the dimensions of your trenches. Cut the filter fabric into lengths that cover these dimensions. Cover the trenches with the filter fabric.
Fill the remaining space in each trench with topsoil. Compact it and ensure each trench is well filled. Replant the grass, shrubs or whatever other plants you grow next to your house.