Skip to content

coahearn/frankenbook

 
 

Repository files navigation

FrankenBook

To Install

npm install

To Run Dev Mode

npm start

Storybook

To build and test components, we use Storybook. To run:

npm run storybook

Navigate to localhost:9001

To Build and Run Production Version

npm run prod

Navigate to localhost:5000

Static Files

Static files such as images, robots.txt, etc are stored in the /static folder. The contents of this folder are copied to the /dist folder during the production build. The contents, not the folder itself, are copied, so that robots.txt, etc will be at the top-level of the deployed application.

To generate database items from html

npm run convert // Converts bookSource.html to json
npm run convert-annotations // Converts footnotes to annotations json
npm run convert-editor // Converts bookSource.json and sourceAnnotations.json to editor-compliant json

// run generate-data from /api to import jsons into database.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 91.5%
  • JavaScript 7.3%
  • CSS 1.2%