How to run the old version web UI seperately

bozz-cath4 years ago

Following the https://github.com/traccar/traccar-web
I don't found any docs about, How to start website (old-version) or anything.
Just only the /modern (modern version) already have docs run web by npm

Anton Tananaev4 years ago

For old version you don't need to do anything special. Just start Traccar server and let it server you the files.

bozz-cath4 years ago

So It's mean I can't separate the Frontend (web UI) and Backend (Traccar) each other right?
for instance image below,

image

Anton Tananaev4 years ago

You can have a separate machine serving you web UI, but I don't really see much point in it. It's just static files.

bozz-cath4 years ago

So Which file is a starter file for Web UI?
I can't found any index file or config environment for BACKEND_URL.

Basically, I just want to serve the file with Nginx or Node.
Do you have any recommand to me?