Custom content creation uploading to pressbooks

Hi! I have recently started working on creating a custom content type to use in pressbooks. I have created an environment where I was able to code it and can run it with h5p server and it works fine but I am having issues now making that into an .h5p file. In my environement, the actual content code is under content/skillAssessment and has content.json and the h5p.json and then I have the libraries in a separate folder. I am using the AdvancedText, Table, and Accordion together to display an interactive table. 

I can't seem to find a guide on how to get it from this state into an .h5p file that can then be uploaded into pressbooks as a content type.

Any help would be greatly appreciated! Thanks!

Content types: 
otacke's picture

You will need to use the `h5p utils pack` command to pack your library. The result will be an H5P library file containing your library that can be uploaded via the H5P Library settings page of the H5P Plugin for WordPress (PressBooks).

Note that this is not an H5P content file to be uploaded on the H5P Hub client. This won't work. And unless you're an admin of PressBooks, you'd not be able to install a custom H5P library that way anyway, even if you had H5P content using your library.