The GROMACS tutorial provides clear instructions; please follow them. First, you need to generate a parameter file for your ligand (ligand.str) using the Amber force field. You can use either Antechamber or acpype for this. After generating parameters for your molecule, proceed to generate the .gro file for your ligand.