Source code

Aleraduc4 days ago

Hi all , I tried to change some stuff like loginlayout via traccar-web in terminal sever , but the change was in terminal but not on browser.
I donwload traccar Linux and traccar web for my server ...but without results. I think I restart my server 3 or 4 times today. Can you please some advice how I can change the source code

Track-trace4 days ago

If you edit the code you need to recompile it and copy the content of the build directory to the web directory in your traccar server install directory
.

Aleraduc4 days ago

Hi, i do after npm run build and nothing happened , i restart traccar and nothing happenned :(

Anton Tananaev4 days ago

You're probably missing something, but you haven't provided any specific details. Like no details about folders, configuration etc.

Aleraduc4 days ago

Hi Anton ,
I used only npm run build without ...sudo cp -r dist/* /opt/traccar/web....:(

Anton Tananaev4 days ago

What is dist?

Aleraduc4 days ago

Dist /* is like a file to keep all the modification and after to send to traccar/web....but my mistake is not working :( .one question Anton : can i change the files direct from winscp ?
Can you please tell me what I need more to change source code and to see it ? I download traccar-linux and traccar web.
I need somenthing more ?
I can see in traccar.org at server somenthing like traccar-web-90876..etc

Anton Tananaev4 days ago

Have you read the documentation first? You have to compile the code and the output should be in the build folder, not dist.

Aleraduc3 days ago

Hi Anton , i made the changes ....looks fantastic and i found a simple way for background image :)