Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/serlo/serlo-h5p-converter-prototype
Prototype for conversion of exercises (Serlo, H5P, possibly others)
https://github.com/serlo/serlo-h5p-converter-prototype
Last synced: 4 days ago
JSON representation
Prototype for conversion of exercises (Serlo, H5P, possibly others)
- Host: GitHub
- URL: https://github.com/serlo/serlo-h5p-converter-prototype
- Owner: serlo
- Created: 2024-08-28T20:01:15.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-10T20:54:00.000Z (4 days ago)
- Last Synced: 2024-11-10T21:31:52.485Z (4 days ago)
- Language: TypeScript
- Size: 395 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setup
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
1. The H5P editor needs a server running. I cloned https://github.com/Lumieducation/H5P-Nodejs-library and ran `npm start` in the `packages/h5p-rest-example-server` folder. Be sure to run `npm install` in that repository's root folder first.
2. Run `yarn start`.
3. [http://localhost:3000](http://localhost:3000) should display an H5P editor. Maybe you don't see any exercise types. In that case, run the `packages/h5p-rest-example-client` in the other repository, log in as admin and install the multiple choice plugin.
4. Create a multiple choice task and click save. Saving does not actually work (due to the login model of the example server), but the save method is the only place where I could access the editor content as JSON. For now it is just displayed below the editor. You may have to click save twice.