]>
Commit | Line | Data |
---|---|---|
faea7807 | 1 | pveproxy with ExtJS 6 developpement mini howto |
4dca8741 EK |
2 | ============================================== |
3 | ||
faea7807 | 4 | unpack the ExtJS 6 sources, and copy them to /usr/share/pve-manager/ext6 |
4dca8741 | 5 | |
faea7807 | 6 | cd www/ext6/ |
4dca8741 EK |
7 | make install |
8 | ||
faea7807 | 9 | symlink the ext6 dir in pve-manager to the manager5 directory |
4dca8741 EK |
10 | |
11 | cd /usr/share/pve-manager | |
bac5bd13 | 12 | ln -s PATH_TO_YOUR_GIT_REPO/www/manager6 |
4dca8741 | 13 | |
faea7807 | 14 | access the PVE proxy with ExtJS 6 |
4dca8741 | 15 | |
faea7807 | 16 | https://localhost:8006/?ext6=1 |
4dca8741 EK |
17 | |
18 | ||
faea7807 EK |
19 | With the extra parameter **ext6=1**, pve-proxy will call the function **PVE::ExtJSIndex6::get_index()** |
20 | which returns a HTML page, with all javascript symlinked from your git repository. | |
21 | Provided you included the javascript files in **PVE/ExtJSIndex5.pm**, after editing a file in the git repository, a simple refresh is enough to see your changes in the browser. |