This repository provides a simple example of using EditionCrafter in a React app. It can also be run using GitHub Code Spaces to try out EditionCrafter or preview an edition in progress.
This repository includes the EditionCrafter command line tool and an HTTP server to preview your project in the EditionCrafter frontend component.
- Run
editioncrafter
in the command line to generate your project files. Runeditioncrafter help
for more details of how to use that program. - Put the project files in the
public
folder. - Open
config.json
and update the parameters for your project. - Run
npm start
in the command line to launch a web server. A popup will appear on the bottom right of your screen with an "Open in Browser" button. Click that to get a live view of your project in a new tab.
In the examples folder.. TODO
This repository currently contains EditionCrafter 1.1.0. If a newer version exists, you can upgrade by running the following command:
npm install @cu-mkp/editioncrafter@latest