Coder Social home page Coder Social logo

golem-docs's Introduction

Getting started

To get started with this template, first install the npm dependencies:

npm install

Next, run the development server:

npm run dev

Finally, open http://localhost:3000 in your browser to view the website.

Customizing

You can start editing this template by modifying the files in the /src folder. The site will auto-update as you edit these files.

Global search

This template includes a global search that's powered by the FlexSearch library. It's available by clicking the search input or by using the โŒ˜K shortcut.

This feature requires no configuration, and works out of the box by automatically scanning your documentation pages to build its index. You can adjust the search parameters by editing the /src/markdoc/search.mjs file.

golem-docs's People

Contributors

cryptobench avatar figurestudios avatar fomfny avatar golmek avatar grisha87 avatar jalas167 avatar kamirr avatar krunch3r76 avatar mateuszsrebrny avatar mgordel avatar octalmage avatar omahs avatar pgrzy-golem avatar scx1332 avatar sewerynkras avatar shadeofblue avatar vandavv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

golem-docs's Issues

Update Documentation

NO-QA code in Python example

In .md file:
https://github.com/golemfactory/golem-docs/blob/reputation-system-rework/src/pages/docs/reputation/finding-the-best-providers.md

there is the Python example, but it does not run. Module "utils" refers to a non-existing "build_parser", "print_env_info", "run_golem_example" names.
These imports are commented with "NO-QA", exactly the line below:

from utils import build_parser, print_env_info, run_golem_example # noqa

Probably it has been working in the past, but over a time as module utils has changed this No Quality code has been removed.

I can rewrite that example, let me know if it's fine for you.
Also, would it be possible to split python code from MarkDown? So, .md would contain something like:

include path/to/example.py
?

Cheers,
Mateusz (Barnaba)

Error: Local service error: Transfer error: Send error: send failed because receiver is gone. Stdout: undefined. Stderr: undefined

Documentation Page

An error in await ctx.uploadFile("./task.js", "/golem/work/task.js");.

The package 529f7fdaf1cf46ce3126eb6bbcd3b213c314fe8fe884914f5d1106d4 doesn't have a VOLUME in /golem/work. That's why node index.js throws an error Error: Local service error: Transfer error: Send error: send failed because receiver is gone. Stdout: undefined. Stderr: undefined.

If change await ctx.uploadFile("./task.js", "/golem/work/task.js"); to await ctx.uploadFile("./task.js", "/golem/input/task.js"); and const result = await ctx.run("node", ["/golem/work/task.js"]); to const result = await ctx.run("cd ../input && node task.js"); starts working good.

import { TaskExecutor } from "yajsapi";

(async () => {
  const executor = await TaskExecutor.create("529f7fdaf1cf46ce3126eb6bbcd3b213c314fe8fe884914f5d1106d4");
  const result = await executor.run(async (ctx) => {
      await ctx.uploadFile("./task.js", "/golem/input/task.js");
      const result = await ctx.run("cd ../input && node task.js");
  });
  await executor.end();

  console.log("Task result:", result);
})();

Documentation of provider logs

I recently got my provider up and running. Works great. However, I dont really understand what all the output in .local/share/ya-provider/ya-provider_rCURRENT.log really means. It seems like these messages are not in the documentation.

Some of the logs are self explanatory, but others are rather difficult to understand imo.

Here are some lines from my logs.

  • Negotiator component 'DebitNoteInterval' is still negotiating Proposal...
  • Negotiator component 'PaymentTimeout' is still negotiating Proposal...
  • Decided to CounterProposal...
  • Got proposal...
  • Resubscribing subscription...
  • Unsubscribing 1 offer(s)
  • Subscribed offer. Subscription id ...
  • Failed to unsubscribe offers from the market: HTTP error requesting DELETE http://...
  • Can't query market events. Error: HTTP error requesting GET http://... 404 Not Found; msg:...
  • Error sending invoice: HTTP error requesting POST http://...

Wouldn't it be nice so have all, or some, of these messages in the docs? I'd be happy to att them here somewhere. I just need some help figuring out what of these lines mean.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.