nashi icon indicating copy to clipboard operation
nashi copied to clipboard

Starting Nashi

Open jpb-badw opened this issue 4 years ago • 1 comments

I've cloned all the files from github to the computer. The instructions state that to use the file protocol Firefox must be utilized. I've tried to reach it but whenever I give in the protocol plus the path to Nashi, the page stays blank and nothing happens. Is there a step that's missing?

jpb-badw avatar Jan 04 '21 09:01 jpb-badw

Hi, you're trying to just use the plain html file, not the flask server, right? As in: demo

I think it fails due to CORS issues, somehow Firefox also dropped the support for loading local files. As a quick workaround you could use your own web server:

  1. cd to the nashi directory (or any directory containing nashi.html, some PAGE XML files and corresponding images)
  2. python -m http.server 8877 (or php -S localhost:8877...)
  3. In Firefox, go to http://0.0.0.0:8877/nashi.html?pagexml=Test.xml&direction=ltr

andbue avatar Jan 04 '21 13:01 andbue