G"day Fishinwahbee
Go to a hardware store and purchase a contact cement suitable for gluing carpet (get the best you can afford) glue the flat areas down first making sure there are no creases turn your deck over and place some heavy weighted objects on it to ensure even contact and wait till it cures then glue and fold one edge at a time I used spring clamps you can buy these fairly cheap ($5_$10 a set at bunnings) and two strips of wood the same length as the longest fold one on top the other on the bottom and clamp them down and wait till the glue cures then move onto the next fold make sure to trim off any excess carpet before moving onto the next fold worked for me
Cheers Mal