Closed Jumbo125 closed 3 months ago
If your objective is to fiddle around with the web UI, you can do the following:
npm
and run the following command:npm install
owntone.local
must be replaced with your own OwnTone server address.export VITE_OWNTONE_URL=http://owntone.local:3689; npm run serve
http://localhost:3000
Some more information can be found here.
@hacketiwack okay. i hope i understand it correctly...
or can i do it with the building tutorial: https://owntone.github.io/owntone-server/building/
i installed it via raspberry install
Not exactly. The instructions I gave only allow to run the web UI locally.
If you want to run the OwnTone server locally on your computer, you have to follow the installation instructions presented in this document and more specifically these build instructions.
Note that by default, the web UI is located under /usr/share/owntone/htdocs
.
Not exactly. The instructions I gave only allow to run the web UI locally.
If you want to run the OwnTone server locally on your computer, you have to follow the installation instructions presented in this document.
Note that by default, the web UI is located under
/usr/share/owntone/htdocs
.
okay i see. i used the raspberry install. i think that was a fail. i should use the debian install tutorial.... is it correct?
do you know how i can uninstall the "old owntone-rasperry installation"? thank you
It depends on which OS you want to install OwnTone. What is your OS?
And maybe a question I should have asked at the beginning: what do you want to adapt in OwnTone?
my system is raspberry pi os (bookworm) it's a debian os, so i think i can use the debian installation tutorial
I would prefer to run it locally, because sometimes i don't have internet. i want to edit the webserver files. (jquery, css and more)
thank you very much for your help
Actually, if you install OwnTone locally with the procedure described for the Raspberry Pi OS, then you don't have to worry about having access to Internet. The web UI doesn't rely at all on any internet connectivity. All the resources are installed locally on your device.
I enjoin you to follow the instructions here and more specifically here.
okay... do you know where the style files (http://localhost:3689/assets/index.css) is located, when i do the raspi tutorial??? where is thefolder assests? where is the root directory?
thank you
As I wrote earlier, the files are under /usr/share/owntone/htdocs
.
These files are rather difficult to read because they are minified (with the command npm run build).
But, my question remains: what do you want to change in the OwnTone UI?
you are great. there is the css file. i will test it Thank you very much!!!! i only want to change some css styles, like font-size and more
i removed my first owntone installation unfortunately..... because i want to try the installation tutorial for debian... it works too. should i remove this installtion and install it again with the commands from the raspbian os tutroial? thank you
my js and css edtiing works!
Hello is it possible to run it locally and use all files from a local copy from this project? i need to conifg the webplayer with some css style formatings and more
thank you!