kinto.js icon indicating copy to clipboard operation
kinto.js copied to clipboard

Early steps of the tutorial: IndexedDB not created

Open Grahack opened this issue 8 years ago • 3 comments

Hi,

As a nice newbie, I'm following this tutorial. However, when inspecting the IndexedDB as suggested (right before the Listing tasks section, I can't see any data. The demo works OK though (running npm run demo). What could have gone wrong ?

Here is my code: http://profgra.org/kinto-demo/.

Thanks.

Grahack avatar Jul 23 '17 06:07 Grahack

OK sorry, I didn't notice that it worked on http://profgra.org/kinto-demo/.

Maybe the problem is that I was at first using a file:/// URL? What prevent us from using IndexedDB from those URLs?

Thanks again.

Grahack avatar Jul 23 '17 06:07 Grahack

Also a reload may be needed. I could provide you with a pull request for some concise precisions in the tutorial.

Grahack avatar Jul 23 '17 07:07 Grahack

Hi @Grahack ! Thanks for your feedback, and sorry for the delay...

Indeed there are a great number of features that won't work with file:// scheme. You can run a http server on a local folder with python3 -m http.server

If you have ideas how to improve the tutorial, please do, we'll be glad to review and merge them!

leplatrem avatar Aug 01 '17 16:08 leplatrem