When the mainsail is all the way up, pull hard on the halyard to tension the luff. Then tie the halyard to the cleat on the mast, using a cleat hitch.
Notice that the mainsail when fully raised holds the boom up.
Now you should raise the jib. Simply pull down on the jib halyard and cleat it on the other side of the mast.