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.

OS: Debian GNU/Linux 11 (bullseye) aarch64
Host: Raspberry Pi 4 Model B Rev 1.4
Kernel: 5.10.63-v8+
Uptime: 2 mins
Packages: 2158 (dpkg), 4 (snap)
Shell: bash 5.1.4
Resolution: 1920x1080
Terminal: /dev/pts/0
CPU: BCM2835 (4) @ 1.500GHz
Memory: 396MiB / 7812MiB

-------------------------------------------------

pi@raspberrypi:~ $ sudo snap install lumi --edge

error: snap "lumi" is not available on edge for this architecture (arm64) but

       exists on other architectures (amd64).

-------------------------------------------------

papi Jo's picture

Drupal 7 end of life is scheduled for November 2022, that's quite soon.

Oliver wrote "The H5P core team is planning to create a development suite anyway since Drupal 7 will reach its end of life in 2022."

How is work progressing on this new development suite? I would be re-assured to know that it will be available any time soon.

otacke's picture

Hi!

Your Drupal 7 instance won't stop working, and since you're (hopefully) running it locally and not hooking it up to the internet, there's nothing to be feared even if no replacement arrives in time.

Best,

Oliver 

Dear all

I have been getting this error in Lumi

"Your site is having difficulties connecting to H5P.org and listing the available content types."

Any ideas how to rectify this in Lumi?


Regards

BV52's picture

Hi,

Lumi is a community project and I suggest that you reach out to their support. You should find their email on their website.

-BV

otacke's picture

Hi!

That's most likely one of the hiccups that h5p.org has from time to time when serving libraries. You should just try a little later.

Best,
Oliver

Thank you BV and Oliver - I have been facing this issue for last 30 days.

Unfortunately, Lumi people are not aswering my emails, social media etc thats why i asked here..

Thank you anyways

Hello. I want to change the language to Vietnamese using nodejs (https://github.com/Lumieducation/H5P-Nodejs-library). Who can help me?