Replies: 4 comments 8 replies
-
Hi, I agree that the documentation for getting started in terms of development could be improved. Do you have some specific steps i mind? Assuming that you want to make changes to the repository rather than just running the application? Because if you just want to run it, then I do recommend looking at the docker section of the readme. If you would like to build the project for development purposes. Then the easiest metod to figure out how to build locally might be to take a look at the existing documentation as well as the dockerfile where all the dependencies etc can be seen. What I personally have been doing is to make use of the dockerfile to build local changes as well. Do this in a terminal inside the root of the repository:
Take the docker hash/sha that gets spit out at the end and enter it into the docker run command:
(see readme for more options in the docker run command such as volumes) You should now be able to visit localhost:8080 and see your local changes. Then whenever you modify something you will have to repeat the above steps again. I hope that any of the two steps above help you gets started. Of course, feel free to ask if there is anything else too. |
Beta Was this translation helpful? Give feedback.
-
TIL what docker is 🤣. Ok i've got the sha, is this what we say when a program is built and signed? So i just did that for myself right? So i'm stuck on this next docker run part. This is 100% me just not understanding docker, i swear once i can get it going i can do something worthwhile haha. where is that docker run command actually... being run? windows cmd, mac terminal, is there some kind of console i'm not immediately seeing in docker? doh. the new line for windows command is ^, getting further, system cannot find the path, obviously now i need to update those lol. ... and now i remember powershell is a thing. powershell command for windows to list audio devices: |
Beta Was this translation helpful? Give feedback.
-
hah yeah, at this point, i can't even get it just up and running. 'something' here doesn't make sense, but i don't know what's blocking me |
Beta Was this translation helpful? Give feedback.
-
So it appears that there are many things happening at once here then :)
Docker is a command line utility like any other. Meaning that you will be executing it in your terminal of choice. First of all it might be a good idea to verify that you can run docker at all on your windows setup. Maybe follow some sort of beginners guide to get started. Windows is a bit tricky and it might suggest you to install WSL etc, leaving you wishing for that you had just installed Linux rather than Windows from the start... Probably easier to install docker on your mac if you just want to get started quickly. Once you have verified that you can run some sort of docker image on your computer and feel ready to get started with birdnet-go. This should be the most simple docker command for that:
(Adding the privileged flag above since I am not sure how mounting of audio devices works in windows...) |
Beta Was this translation helpful? Give feedback.
-
Alrighty, this is like, exactly what i need. but i'm more a front end web dev guy. I'm literally stuck at the very first part of this, as in i need to compile it, but i'm just clueless here.
Tried using gpt to help a bit, but i think someone else could explain it quicker, and also, i think a lot of people could use a quick start guide?
Any way, for me specifically, i have access to a completely mine windows 11 machine, and a work limited mac. I think i can install whatever i need on the mac, and the windows machine is open. So what all do i need here?
Beta Was this translation helpful? Give feedback.
All reactions