Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.36 KB

File metadata and controls

21 lines (16 loc) · 1.36 KB

Article Annotator

The frontend for the multi-user article annotating tool. Demo

Find the backend project here.

image image

Run this project

You can host the frontend on GitHub Page, although you do need a server to host the backend.

  1. Fork this project to your account.
  2. Install Node.js >= v12.16.3 and Yarn >= 1.22.4.
  3. Run yarn install under the project’s root directory.
  4. In package.json, change the value of homepage to your GitHub Page root URL. If you are not using custom domain, the value should be https://{GITHUB_USERNAME}.github.io/article-annotator. Otherwise it should be your domain.
  5. Delete public/CNAME if you are not using custom domain. Otherwise change the file content to your domain.
  6. Update the values in src/config.ts accordingly.
  7. Run yarn publish under the project’s root directory.
  8. Enable GitHub Page in your project setting page.

To view annotations made by other users, open your browser DevTools and run window.displayOthersAnnotation() in the console.