Giter VIP home page Giter VIP 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

Watchers

 avatar  avatar  avatar  avatar  avatar

golem-docs's Issues

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);
})();

Update Documentation

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.