field-manual icon indicating copy to clipboard operation
field-manual copied to clipboard

field-manual/1-Basics outdated?

Open kvutien opened this issue 2 years ago • 6 comments

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

kvutien avatar Jul 10 '21 18:07 kvutien

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.

CSDUMMI avatar Sep 14 '21 14:09 CSDUMMI

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 :)

kvutien avatar Sep 14 '21 15:09 kvutien

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.)

CSDUMMI avatar Sep 14 '21 15:09 CSDUMMI

Thousands of thanks, on behalf of beginners :)

kvutien avatar Sep 14 '21 15:09 kvutien

Same issue here

enricobottazzi avatar Dec 25 '21 10:12 enricobottazzi

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

mp-netis avatar Jun 16 '22 07:06 mp-netis