brouter-web
brouter-web copied to clipboard
Running run.sh on Linux subsytem
I'm using Linux Ubuntu on Windows 11 and everything works fine until I want to run run.sh file, I get this error: ConfigBase::load: Unable to open /etc/xdg/terminator/config ([Errno 2] No such file or directory: '/etc/xdg/terminator/config')
I installed terminator multiplke times and I never get the terminator folder or config inside xdg. I read online that it's probably a DBUS issue on Linux susbsystem. I tried installing other terminators such as Konsole and xterm but they don't work for me.
Is there a solution? Thank you!
Run ./standalone/local.sh and python3 -m http.server 8000 --bind localhost.
Run ./standalone/local.sh
There is also a standalone/server.cmd, so in theory you should be able to run this on Windows, too.
I also have problem and don't want to open another bug report. On linux computer/virtual machine.
mkdir -p ~/opt/brouter
cd ~/opt/brouter
wget https://github.com/nrenner/brouter-web/releases/download/0.18.1/brouter-web-standalone.0.18.1.zip
unzip brouter-web-standalone.0.18.1.zip
copy brouter-web/config.template.js to brouter-web/config.js
download segments4 for my region
Now i run two tmux sessions.
./brouter/standalone/local.sh
And another while in ./brouter directory
python3 -m http.server 8000 --bind localhost
I check both ports are open localhost on mylinuxvm 8000 and 17777. I forward those two ports via ssh on a windows machine like:
ssh -N -L 8000:127.0.0.1:8000 sshfwd@mylinuxvm
ssh -N -L 17777:127.0.0.1:17777 sshfwd@mylinuxvm
I can access the webserver and see the map, but if i want to plan a route it says no answer from server (Keine Antwort vom Server).
Now i run two tmux sessions. ./brouter/standalone/local.sh
Maybe try running ./brouter/standalone/server.sh instead of local.sh?
The BRouter server is written in Java and should also run on Windows, if you have a Java runtime installed. Try running with ./brouter/standalone/server.cmd on Windows.