Giter VIP home page Giter VIP logo

Comments (7)

smacker avatar smacker commented on August 25, 2024 1

Thanks for pointing at minikube! Actually, @bzz proposed to use it as a way of distribution quite a long time ago.

from gemini.

campoy avatar campoy commented on August 25, 2024 1

I think it'd be nice to keep in mind too that some people can't run Docker at all.
I know that sounds crazy, but the corporate world is wild.

If we could also have a document explaining how to run it the hard way it'd be very useful to many.

from gemini.

smacker avatar smacker commented on August 25, 2024

with recent improvements we are going to have more external dependencies:

  • DB
  • Bblfsh server
  • Feature extractor service

Putting everything in one Dockerfile might be not the best solution in such case.
I personally use docker-compose for it and it was also proposed by @smola to simplify CI.

Running gemini by one command:

docker-compose up

looks simple enough for me.

And we even can make it single binary using https://github.com/src-d/go-compose-installer

What do you think?

from gemini.

campoy avatar campoy commented on August 25, 2024

That would work for me too, even depending on minikube would work, since Docker is shipping with it now.

My only concern is currently running gemini requires a bit too much knowledge on the architecture, whatever fixes that I'm ok with.

from gemini.

bzz avatar bzz commented on August 25, 2024

Minikube is a good option for starting bunch of things together, but docker compose also seems a bit simpler, as does not require any k8s knowledge which is also not really relevant for this application.

@campoy thank you for suggestions, let's use it as umbrella issue and aggregate the specific improvements we want to make as checkbox items in issue description, while keeping it open for the discussion.

I.e few specific tasks I can see right now:

  1. identify & document & build the containers of all dependencies (DB, feature extractors, Bbflsh) #94
  2. docker compose script, to start all containers together #95
  3. a minimal docker container for launching Gemini \w Apache Spark pre-installed, to enable
    docker run ... [hash/query/report] UX
  4. update REDME with a new section on local container-based workflow

Please, do not hesitate to add things that are missing!

As soon as we finish the file-level similarity implementation covered by a design doc we'll get back to improving packaging/running dependencies experience while preparing for the final launch planned for this quarter and will address all the sub-tasks.

from gemini.

bzz avatar bzz commented on August 25, 2024

Updated the msg above to include relevant issues. After discussion, decided that #94 is a priority and going to be part of the upcoming release.

If we agree on suggestion of using compose script and docker run UX as ones that address the needs - those improvements will be included in subsequent releases.

from gemini.

bzz avatar bzz commented on August 25, 2024

Closing this now, due to:

@campoy please, feel free to re-open if this does not address the issue!

from gemini.

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.