Tips : use lumi.education if you don't want to install drupal

Forums: 

Hi,

If you ever wanted to create a content type, you would have to install drupal as other platform like moodle or wordpress doesn't have a developper mode.

However, there is a much easier / lighter solution, you can use lumi.education : https://next.lumi.education/

Lumi is not intended for developping content type but for author to use content type to create content, but it can also be used to easily create content type.

As you can't upload a library, you will have to create a real activity with content. So you will need to have a content folder with a content.json file (filled as required). You can then upload your h5p activity to lumi activity and it will automatically install your content type activity.

You can then go in C:\Users\XXXXX\AppData\Local\Packages\5501S.Rettig.Lumi-InteractiveContentwithH5P_117m187myf83r\LocalCache\Roaming\lumi\libraries to find folder of your content type and edit directly yours files from here. If you try to create an h5p activity, you will see your content type listed and you will be able to use it.

Please note that you will have to restart the lumi app after each change.

Please also note that if your h5p file is invalid, the error message might have less information than on other platform. So it might be usefull to have an other platform to try to upload your h5p file to see a better error message (you don't need to have right to upload library, the server will reject you if your h5p file is correct but will show you the error message if it isn't).

otacke's picture

Hi Degrange!

While I really appreciate Lumi, I don't think the scenario you are describing is suitable for convenient development or "easier" as you describe it. Not even considering other issues such as not being able to conveniently test translation or upgrade scripts or wondering what might go wrong if you want to modify existing libraries instead of creating new ones, restarting Lumi every time I change something instead of just hitting (Ctrl-)F5 would be a no-go for me.

I agree that setting up Drupal in some server environment is not ideal, but it not complicated and IMHO superior to what you are suggesting.

By the way: The H5P core team is planning to create a development suite anyway since Drupal 7 will reach its end of life in 2022.

Cheers,
Oliver

It's true that Drupal is still the way to go if you want the best experiance.

Just good to have alternative even if they are not as good as drupal.

Nice to know the h5p team plan to create a development suite !

serettig's picture

Hi all,

Lumi supports switching languages since a few days ago and I'm planning to add a simple switch to disable the server-side caching, so library development should work without restarting all the time.

<3

papi Jo's picture

Looking forward to this new development, Sebastian!

Hope lumi.education will soon be available for ARM64 making quick  H5P resource creation within the reach of even more people.

 It will be nice to use the "Desktop App that offers a collection of tools to create, edit and share digital content with your class" on an ARM SBC

serettig's picture

What OS are we talking about? ARM on MacOS M1 works fine with Rosetta.