nashi
nashi copied to clipboard
Starting Nashi
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?
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:
- cd to the nashi directory (or any directory containing nashi.html, some PAGE XML files and corresponding images)
-
python -m http.server 8877
(orphp -S localhost:8877
...) - In Firefox, go to http://0.0.0.0:8877/nashi.html?pagexml=Test.xml&direction=ltr