recompile web app

Albertus6 years ago

Good Day Anton

Could you guide me a little of how to "recompile web app"?

Thank You

Albertus

Anton Tananaev6 years ago

You need to run minify.sh script.

Albertus6 years ago

Good Day Anton

What OS do you use?
How to install Sencha Cmd on Linux Ubuntu, or can i copy server to windows and compile on windows and move back to linux?

Thank You

Albertus Geyser

Anton Tananaev6 years ago

I use macOS.

Albertus6 years ago

Good Day Anton

I tried to run minify.sh script with Sencha Cmd installed and struggle to get it to be successful.

First Attempt:

root@a188-nix01:~# cd /opt/traccar
root@a188-nix01:/opt/traccar# ./minify.sh
./minify.sh: 3: cd: can't cd to ./../web
Sencha Cmd v6.2.2.36
[INF] Loading compiler context
[INF] Compressing data with ClosureCompressor
[INF] Writing concatenated output to file /opt/traccar/app.min.js

Second Attempt:

root@a188-nix01:/opt/traccar# ./minify.sh
Sencha Cmd v6.2.2.36
[INF] Loading compiler context
[ERR] Failed to resolve dependency Ext.app.Application for file Traccar.Application
[ERR] Unknown definition for dependency : Ext.app.Application

Any Idea why this fails on ubuntu server 16.04?

Thank You

Albertus Geyser

Anton Tananaev6 years ago

Probably it can't find SDK.

Albertus6 years ago

Good Day Anton

What SDK you talking about?

Thank You
Albertus Geyser

Anton Tananaev6 years ago

ExtJS SDK of course.

Albertus6 years ago

Good Day Anton

Any idea how to install on ubuntu?

Thank You
Albertus Geyser