Problems using Minify.sh

Zuo Bruno6 years ago

@Anton please once more I need help, I downloaded Traccar installer from the official website and all is working perfectly and I currently have like 52 cars on the platform, I changed the logo on the login page and needed to minify.sh for it to take effect, in /opt/traccar I could not find minify.sh so I copied from https://github.com/traccar/traccar-web/blob/master/tools/minify.sh and made it executable, but upon running it I get an error with "Command not found: sencha" I am using CentOS. I do not know if I can edit version and if not possible then I have a great problem at hand. Please your advice will be highly welcomed

Anton Tananaev6 years ago

I would recommend you to get full source code instead of doing it directly on the server. Then check minify script to understand what it needs and how it works. You need Sencha CMD installed and you need ExtJS SDK.

Zuo Bruno6 years ago

Thank you @Anton, I get the point, is it possible to install from source code without affecting existing parameters (Users, Database, settings, devices, etc) If yes please can you throw some light? Also please can I just go ahead using installer code and install Sencha CMD and ExtJS SDK to edit existing code without necessarily downloading source Code?

Anton Tananaev6 years ago

You don't need to install source code.

It might be possible, but I've never tried.