Git Product home page Git Product logo

Comments (5)

andreybavt avatar andreybavt commented on July 30, 2024 1

Hi @p4puniya ,
The missing files are auto-generated during the build of the project. To run the build you can execute ./gradlew build from the root of the cloned repo.

We're working on improving developers' documentation, for now, there's a Notion page that describes how to set up Giskard for local development using Intellij Idea (but you may find it useful for VS Code too).
https://giskard.notion.site/Running-Giskard-on-local-without-docker-6b5b4f47a0da4b4a9851bbf65199c5cd

from giskard.

p4puniya avatar p4puniya commented on July 30, 2024

I guess the said file is either removed or moved to a new destination. If possible can someone guide me on how to resolve this issue? I'm just starting with open-source so please bear with me.😅

from giskard.

p4puniya avatar p4puniya commented on July 30, 2024

Hi @andreybavt ,
I tried building the project but it shows APPLICATION FAILED TO START
Here's the description and the action:
Description:
Parameter 2 of constructor in ai.giskard.service.ProjectService required a bean of type 'ai.giskard.web.dto.mapper.GiskardMapper' that could not be found.
Action:
Consider defining a bean of type 'ai.giskard.web.dto.mapper.GiskardMapper' in your configuration.

from giskard.

olla-dev avatar olla-dev commented on July 30, 2024

Hello @p4puniya,

Reposting this here from discussion on discord (thanks for the help).

This should solve your problem:

classes from ai.giskard.worker are autogenerated from GRPC proto file located in giskard-server/ml-worker-proto/proto/ml-worker.proto

This ml-worker-proto directory is a submodule, so to fetch it you can run this command from the root of giskard repository
git submodule update --init --recursive -q

next, to generate the missing java files you can run
./gradlew :giskard-server:cleanGenerated :giskard-server:generateProto

from giskard.

andreybavt avatar andreybavt commented on July 30, 2024

Hi everyone,

We decided to simplify Giskard repo structure and merged 3 repos (giskard, giskard-client, and ml-worker-proto) into the main giskard repo. This allowed us to get rid of the proto file submodule, so no need to pull submodule recursively now.

Starting giskard in dev mode should be now done with just

./gradlew start --parallel

Check out the dev readme for more details
https://github.com/Giskard-AI/giskard/blob/main/README.dev.md

from giskard.

Related Issues (20)

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.