Source code

Aleraduca month 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-tracea month 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
.

Aleraduca month ago

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

Anton Tananaeva month ago

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

Aleraduca month ago

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

Anton Tananaeva month ago

What is dist?

Aleraduca month 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 Tananaeva month ago

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

Aleraduca month ago

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