Giter Club home page Giter Club logo

Comments (6)

heig avatar heig commented on June 11, 2024

Hi, could you add something to the "src/index.php" and build and run the container again?

In line 29 add

var_dump($missing_products);

Than build and run the container, and you should get the Array of all fetched products. Could you paste this here?
Thanks!

from grocytobring.

DST73 avatar DST73 commented on June 11, 2024

I did that as you can see in the log
gtb.log

But I have noticed from looking into the code that my env-file was missing
SOURCE=shoppinglist
And you all item from my grocy shopping list have been added to my Bring shopping list. (I have added before some more products to my grocy list)

grafik

Maybe the .env-example should be updated :)

One thing would be cool if it could sync the list. I mean if you delete an item from your grocy list it gets deleted from your Bring list the next run.

Do you plan to make a self running container so there is no need for creating an cron job ?

from grocytobring.

heig avatar heig commented on June 11, 2024

Well, if you do not use the Shoppinglist but only the Products that are below minimum stock, you don't need the "SOURCE" part ;)
But of course I can add it as an empty option :)
So I belive this issue is fixed?

from grocytobring.

DST73 avatar DST73 commented on June 11, 2024

Yes the issue is fixed... or a comment in the README :) Thank you!

from grocytobring.

heig avatar heig commented on June 11, 2024

Yes the issue is fixed... or a comment in the README :) Thank you!

https://github.com/heig/GrocyToBring#use-shoppinglist-and-not-minimum-stock-amounts

done :)

from grocytobring.

DST73 avatar DST73 commented on June 11, 2024

Thank you! Would you consider my suggestion to sync the Bring shopping list? Meaning if you delete an item in the grocy list it gets delete in the bring list?

from grocytobring.

Related Issues (4)

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.