Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.25 KB

README.md

File metadata and controls

31 lines (19 loc) · 1.25 KB

EditionCrafter React Project Template

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.

How it Works

This repository includes the EditionCrafter command line tool and an HTTP server to preview your project in the EditionCrafter frontend component.

  1. Run editioncrafter in the command line to generate your project files. Run editioncrafter help for more details of how to use that program.
  2. Put the project files in the public folder.
  3. Open config.json and update the parameters for your project.
  4. 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.

Using the provided example editions

In the examples folder.. TODO

Upgrading EditionCrafter

This repository contains the latest version of EditionCrafter. To upgrade to a newer version in the future, run the following command:

npm install @cu-mkp/editioncrafter@latest

You can also upgrade the EditionCrafter CLI using this command:

npm install @cu-mkp/editioncrafter-cli@latest