-
Notifications
You must be signed in to change notification settings - Fork 43
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
how to build this project locally #66
Comments
Thanks for the comments. It's a lot of food for thought, which is good! Running this project locally hasn't been something we've put attention to, because we have Raspberry Pi test systems with the relevant sound cards at our disposal to run the code when working on it. Out of interest I tried running this on Mac OS X 10.14.6 and Node 8.12.0. It will start but will be very limited because the system ties into a lot of stuff that's part of HiFiBerryOS and I'm not installing/controlling. This was the process:
The process is so convoluted because the Buildroot system for HiFiBerryOS takes care of putting stuff into place and installing dependencies for us. Making independent installation easier could be something to look into, but in my view this is primarily interesting for other Raspberry Pi Linux distros that can be used with the HiFiBerry sound cards and not necessarily for PC/Mac (as the functionality will be very limited). Now to some of the other points you made:
No denying that there's a lot of code that's dreadfully messy and not documented. Some of that I'll attribute to my inexperience and building this solo. I've been throwing stuff on the wall and seeing what sticks to achieve a system that can work, with the intention of hopefully improving and documenting it later. I sincerely appreciate the criticism and help from more experienced individuals (such as yourself). Helps me learn and do stuff more "by the book". I'm totally open to tearing down anything in favour of replacing it with something better and more robust – but would like to hold on to the concept of being able to drop extensions into a folder and have them magically integrate with the UI and backend with no further action. |
Oh wow thanks for the very complete answer and feedback. So the best way would be to actually run it on the pyi and work on it via ssh? To the other points: Sorry I hope this did not came over as a critique, those are only things I would love to work on. But my motivation often expects my ability so don't be too excited yet :D I will open issues for the other topics and try to work on them myself, I think this will be more efficient then discussing them all in this thread.
I totally also have my fair share of ugly code projects out there. But since I would love to work on that one, I hoped we could clean it up a bit in order for me and other to be able to help efficiently. It would make me happy to help with this as well. Thanks for your open minded and positive answer. |
This is precisely how I do it. I tend to run the latest HiFiBerryOS build and I've set up my editor to auto-upload files to the Pi whenever I save. This means for client-side changes I can just reload the page and for server-side changes I'll restart the server. In terms of workflow it's equally simple as running it locally.
All good man
Totally cool. I can chime in when and wherever you need assistance.
This would be super awesome, I in turn can give you a tour of the inner workings of the system if you want, then we can both get a better idea on how to attack this. You can reach me privately at exttpt at bang-olufsen dot dk. |
Nice project.
trying to improve a few things on the frontend side. (Mainly css and JS)
But I fail to build the project locally. A few instructions on how to work on it would be greatly appreciated.
There are some things I would like to work on;
beo-ui.js
code is total spaghetti and not documented at all.The text was updated successfully, but these errors were encountered: