Yeoman generator for creating h5p content types according to the template: https://github.com/NDLA-H5P/content-type-template
First, install Yeoman and generator-h5p-content-type using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-h5p-content-type
Then generate your new project:
yo h5p-content-type
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
To run the project locally, follow these steps:
- Clone the project
- Open the directory
- Run
npm install
to fetch dependencies - Run
npm link
. You might have to do this as an administrator, i.e. by runningsudo npm link
. You only need to link the project once - Run
npm run generate-local
to build and run the generator locally
MIT