-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to Symfony #13
Conversation
Now looking at booting up the DB. I see that our symfony Was thinking about our conversation the other day around how sqlite is the portable de-facto db format, ideal for data portability and ease of use. Also probably ending up requiring less resources than running intensive MySQL instances for each one of the services the user will eventually have running. What do you think of using sqlite within symfony, and have the db being saved in the |
sqlite could be a nice store for storage and simplifies the stack a lot indeed. Home Assistant ships with it by default :) |
…ller, refactored task issuing in SettingsController to use factory
@inverse , I checked and currently the commands we are running on a post fresh install (after setting up the container for the first time) are: docker-compose exec -T -w /var/www/html api-ws composer install What other commands do we need to run? |
Damn - you're on fire! Oh one thing we would need is to create the database in the first place! so |
Will add this one. (I also need to get a new raspberry pi, to be able to do fresh install tests without bringing down my current setup 😁)
Yeah, this is a tricky one 😅 would probably let it be in that directory, but create volume mappings for storing logs and the database to the components/ws/appdata/api-ws/ directory on the host machine. Will look closely into this next. |
Made small changes to the templates here, in conjuntion with a new pull request for edgeboxctl, so Edgeapp packages can support a two / three word descriptor of what the app does. The objective is that it results in an easier to use experience for the less tech savvy (that don't want to memorize all the possible app names and what they are for). Example screenshot below: Pull request for edgeboxctl here: edgebox-iot/edgeboxctl#9 |
…ase location (to be picked up by edgeboxctl)
Changed the whole symfony
Will now remove all MySQL related stuff from here, last step! |
Solved! 🎉 Don't like much giving 777 permissions on the folder, but surely works properly now. A fresh install with the Edgebox OS installer should work properly and give you access to the dashboard. We can work on this on more detail later :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we're ready to merge this to the main branch. It is already substantially better than what's there.
I also merged edgeboxctl sqlite support into the main branch as well :)
WIP - lots needs to be done
src-f3
before merge