Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This tutorial assumes that you generated a work type name GenericWork. If you used a different name, substitute that name for all occurrences of GenericWork and generic_work.

Generating a new work type

We’ll begin by generating a new Hyrax work-type for Hyrax for use in the tutorial. We’ll call our work type GenericWork although you could use any name you choose (e.g. Image, ETD, etc). The first step is to run this generator:

$ bin/rails generate hyrax:work GenericWork

This will generate a number of files into your application. Now we can update these files to handle our customized metadata.

  • No labels