use pve-manager from git

rus

Member
Jan 23, 2014
12
1
23
Hello

I want test pve-manager last version from git. So i git clone git://git.proxmox.com/git/pve-manager.git
and i see in "www" directory:
- index.html.tpl
- manager6 directory (where js\css files)

How i can use this for deploy for testing in my browser?
On my server i use nginx, and i have installed Proxmox on other server.

Help me please
 

rus

Member
Jan 23, 2014
12
1
23
No, i want make some modification to pve-manager.
I search right way to develop and view result (testing on browser)
Maybe any knows how i can do this:

(browser-client) --> nginx --> pve-manager (source from git) --> real server with Proxmox installed
 

LnxBil

Famous Member
Feb 21, 2015
5,482
599
133
Germany
No, i want make some modification to pve-manager.
I search right way to develop and view result (testing on browser)
Maybe any knows how i can do this:

(browser-client) --> nginx --> pve-manager (source from git) --> real server with Proxmox installed

Why don't you just edit the files locally on your PVE machine?
 

rus

Member
Jan 23, 2014
12
1
23
Why don't you just edit the files locally on your PVE machine?
Because on local machine i have one big js file /pve2/ext6/ext-all.js
Open PVE and press ctrl+U - and you see only two include:
<script type="text/javascript" src="/pve2/ext6/ext-all.js"></script>
<script type="text/javascript" src="/pve2/ext6/charts.js"></script>

Where i can find developer documentation about PVEManager?
Thanks!
 

LnxBil

Famous Member
Feb 21, 2015
5,482
599
133
Germany
  • Like
Reactions: rus

rus

Member
Jan 23, 2014
12
1
23
Thankyou, but this not help me
In Developer_Documentation i see only how i can clone git, and prepare patch to upload on to git
Nothing about compile assets or use dev version (uncompilled js) in pve-manager

In Makefile i can't see how compile assets
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
2,548
279
88
hi,

No, i want make some modification to pve-manager.
I search right way to develop and view result (testing on browser)

easiest way to do this is to build and test on a live proxmox node (because pve-manager depends on other PVE packages)

clone pve-manager repository and make your changes in the code. then build with make clean && make deb and install the resulting .deb package using dpkg -i. your server will use the patched version after that and you can view the changes using your browser.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!