Making changes to JS files

Who6 years ago

Hi! I'm editing 3.17 traccar version and i have a problem. After making changes in for example: web/app/view/dialog/DemoInfo.js i cant see it live. On the other hand they work perfectly while working in NetBeans. I've read the documentation and as far as i know I should only use debug.html file to make it work. Am i right? Or should i compile files in NetBeans and switch tracker-server.jar and warpper.jar them on production server?

Anton Tananaev6 years ago

You need to compile a minified version of the app. See minify.sh script.

Who6 years ago

I cant find it in compiled version, and i wanna make changes in it.

Anton Tananaev6 years ago

That's why I said you have to compile it.

Who6 years ago

Okay, but after compiling on my computer i wanna switch compiled files with the ones on production server that is working 24/7. What are those files?

Anton Tananaev6 years ago

Just copy the whole web folder.