[pve-devel] [PATCH] Add Readme explaining how to use extjs5 for dev

Emmanuel Kasper e.kasper at proxmox.com
Thu Apr 30 11:12:58 CEST 2015


---
 www/manager5/Readme.md | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 www/manager5/Readme.md

diff --git a/www/manager5/Readme.md b/www/manager5/Readme.md
new file mode 100644
index 0000000..87e00c3
--- /dev/null
+++ b/www/manager5/Readme.md
@@ -0,0 +1,22 @@
+pveproxy with ExtJS 5 developpement mini howto
+==============================================
+
+unpack the ExtJS 5 sources, and copy them to /usr/share/pve-manager/ext5
+
+    cd www/ext5/
+    make install
+
+symlink the to our ext5 compatible javascript code
+
+    cd /usr/share/pve-manager
+    ln -s PATH_TO_YOUR_GIT_REPO/www/manager5
+
+access the PVE proxy with ExtJS 5
+
+    https://localhost:8006/?ext5=1
+
+
+With the extra parameter **ext5=1**, pve-proxy will call the function **PVE::ExtJSIndex5::get_index()**
+which returns a HTML page, with all javascript files included.
+Provided you included the javascript in **PVE/ExtJSIndex5.pm**, a simple browser refresh is then enough 
+to see your changes.
-- 
2.1.4





More information about the pve-devel mailing list