Comments (6)
A minor update on this. I'm working on a large migration to abstract the database calls to allow for a more extendable codebase. With that, I'm implementing the TinyDB package to handle a flat-file setup (no database). It's a rather long process so it may be a week or two before anything useable comes out of this.
from mealie.
A minor update on this. I'm working on a large migration to abstract the database calls to allow for a more extendable codebase. With that, I'm implementing the TinyDB package to handle a flat-file setup (no database). It's a rather long process so it may be a week or two before anything useable comes out of this.
I was wrong this was a terrible approach and I wasted a ton of time trying to make it work. That said SQlite support is now live in the dev branch!
from mealie.
To add some weight to this. The current docker dependency of requiring mongo and optionally mongo-express stands in the way of uptake because only a small percentage of user will have this in place... putting mealie firmly into the try it later when i have time
pile for most.
If an alternative is far off I would strongly suggest some sort of demo mode to get eyes on the project right now which is the critical moment.
However if you can get a self contained sqlite container up you would, in my humble opinion, be making a wise and timely resource allocation choice.
from mealie.
To add some weight to this. The current docker dependency of requiring mongo and optionally mongo-express stands in the way of uptake because only a small percentage of user will have this in place... putting mealie firmly into the
try it later when i have time
pile for most.
I don't quite understand. What's the barrier in spinning up Mongo? I've experienced 0 issues in development or production with Mongo itself. It's one of the "it just work" container for me. You don't even have to create that database it's all done for you. What's the negative for you?
There are significant drawbacks to using SQLite in production. There's essentially no ability to implement robust search capabilities without extensive work on the backend.
Im considering implement SQLite as a "demo" sort of feature, but having to maintain two database types hinders development and app improvements when it's just me in my free time.
from mealie.
Uptake of single container solutions is in my experience much higher than multiple container solutions.
Many projects end up coming back around eventually to the concept of a single container option for tiny installs but recommending, or even requiring for support, a full fat full scalable multi container version to get around the land and leave
crowd who want something very simple to try in the first instance.
The choice is obviously yours I am just saying the vast majority of people falling on this project from google/reddit wont even know what mongo is.
from mealie.
I would use mongo but I've always had issues getting it to work with other containers on raspberry pi. I welcome sqlite considering I just got Mealie to work on a pi4 with no issues.
from mealie.
Related Issues (20)
- [BUG] - OIDC - Invalid JSON Web Key Set HOT 8
- [BUG] - POSTGRES_URL_OVERRIDE requires an unnecessary `:` in the URI HOT 1
- [BUG] - Unable to update recipe rating using the API HOT 1
- [BUG] - Fractions of ingredient quantities less than 1 aren't displayed when no unit is selected HOT 2
- [BUG] - Changing Timezone in docker-compose.yml results in error HOT 2
- [SCRAPER] - Can not import from bettybossi.ch HOT 1
- Cant access after installing docker HOT 1
- [BUG] - Recipe image from another mealie instance HOT 3
- Setting backend passwords with docker compose secrets HOT 9
- [BUG] - Merging ingredient doesnt work if referenced by a shopping list HOT 3
- [BUG] - Improve Random Dinner Selection Feature in Meal Planner HOT 1
- [BUG] - OpenAI - Error when using Ollama with no API Key HOT 5
- [BUG] - Using Authelia with OIDC comes back to login page HOT 7
- [SCRAPER] - Aldi (Australia) HOT 2
- Meal plan editing on iPad drags items rather than scrolls HOT 1
- [BUG] - Migrate from Recipe Keeper FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpm53kb5gd/recipekeeperhtml/recipes.html' HOT 5
- [BUG] - Recipe Keeper Import Failure HOT 1
- [BUG] - Scraper and image URL getter can't identify .jpeg HOT 4
- Shopping list goes blank as soon as internet connection is lost on iPhone HOT 3
- [BUG] - Users can see/manage foods/units/labels from other groups
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mealie.