orbitdb / field-manual

The Offical User's Guide to OrbitDB
207 stars 43 forks source link

field-manual/1-Basics outdated? #148

Open kvutien opened 2 years ago

kvutien commented 2 years ago

Question: is the field-manual tutorial inline with the latest version of orbitdb?

In https://github.com/orbitdb/field-manual/blob/main/01_Tutorial/01_Basics.md#what-else-happened-in-nodejs-1 the tutorial says

You will see some activity inside your project's orbitdb/ folder. This is good.

$ ls orbitdb/
QmNrPunxswb2Chmv295GeCvK9FDusWaTr1ZrYhvWV9AtGM/  zdpuB3VvBJHqYCocN4utQrpBseHou88mq2DLh7bUkWviBQSE3/

$ ls orbitdb/zdpuB3VvBJHqYCocN4utQrpBseHou88mq2DLh7bUkWviBQSE3/
pieces/

$ ls orbitdb/zdpuB3VvBJHqYCocN4utQrpBseHou88mq2DLh7bUkWviBQSE3/pieces/
000003.log  CURRENT  LOCK  LOG  MANIFEST-000002

Actually here is what I see in my local disk

$ ls orbitdb
QmfEUEbNaTLRgLEFg6641e2ZzwWTRoY3iguwiCaqzu9W21

$ ls orbitdb/QmfEUEbNaTLRgLEFg6641e2ZzwWTRoY3iguwiCaqzu9W21
cache       keystore

$ ls orbitdb/QmfEUEbNaTLRgLEFg6641e2ZzwWTRoY3iguwiCaqzu9W21/keystore
000005.ldb  000112.log  CURRENT     LOCK        LOG     LOG.old     MANIFEST-000111
CSDUMMI commented 2 years ago

I don't think so. A while ago I updated some of the code in the repo for the newer versions (I think I did at least). But I didn't pay attention to this part.

kvutien commented 2 years ago

Thanks @CSDUMMI . Good job. It would help newcomers like me if someone could review step by step the tuto, starting from a blank state. I'd love to help, but I'm still too dumb at this stage to do decent explanations, just asking :)

CSDUMMI commented 2 years ago

Yeah. Thought of doing that once. Takes a while though. (Especially since the code snippets are written in diff and cannot easily be copied and pasted.)

kvutien commented 2 years ago

Thousands of thanks, on behalf of beginners :)

enricobottazzi commented 2 years ago

Same issue here

mp-netis commented 2 years ago

It would be so cool to have an up-to-date Field Manual. Are there any plans to do this?