X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=README.dev;h=5db68b9f571f09a3d400302be31aec17ac0b8fd1;hp=390ea7ef53ecec1df0648677ff4cbefe78e8ed26;hb=57eeea0cec72dfba5495aa97ad699d27daecf297;hpb=e143e9d86b489c57166b5c192bf41dcc3452471e diff --git a/README.dev b/README.dev index 390ea7e..5db68b9 100644 --- a/README.dev +++ b/README.dev @@ -2,10 +2,10 @@ Setup PVE v2 Development Environment ==================================== -1. Install Debian 'squeeze' +1. Install Debian 'wheezy' 2. Install prerequisites for development environment: -apt-get -y install build-essential subversion debhelper autotools-dev \ +apt-get -y install build-essential git-core debhelper autotools-dev \ doxygen check pkg-config libnss3-dev groff quilt dpatch libxml2-dev \ libncurses5-dev libslang2-dev libldap2-dev xsltproc python-pexpect \ python-pycurl libdbus-1-dev openipmi sg3-utils libnet-snmp-perl \ @@ -19,27 +19,38 @@ libapache2-mod-perl2 libfilesys-df-perl libfile-readbackwards-perl \ libpci-dev texi2html libgnutls-dev libsdl1.2-dev bridge-utils \ libvncserver0 rpm2cpio apache2-mpm-prefork libintl-perl \ libapache2-request-perl libnet-dns-perl vlan libio-socket-ssl-perl \ -libfile-sync-perl ifenslave-2.6 libnet-ldap-perl console-data - -3. Download and install the following svn modules in order from top to bottom: - -svn://devel.proxmox.com/var/svn/pve/ - -libqb/trunk -corosync/trunk -openais/trunk -pve-common/trunk -pve-cluster/trunk -redhat-cluster/trunk -pve-access-control/trunk -pve-storage/pve2 -pve-qemu-kvm/pve2 -qemu-server/pve2 -vncterm/pve2 -pve-manager/pve2 -pve-kernel-2.6.32-rh/pve2 - -Most source can be installed with 'make dinstall' command. +libfile-sync-perl ifenslave-2.6 libnet-ldap-perl console-data \ +libtool dietlibc-dev liblocale-po-perl libstring-shellquote-perl \ +libio-multiplex-perl liblockfile-simple-perl + +3. Download and install the following git modules in order from top to bottom: + +# git clone git://git.proxmox.com/git/ + +You currently need the following packages: + +corosync-pve.git +openais-pve.git +pve-common.git +pve-cluster.git +redhat-cluster-pve.git +lvm.git +pve-access-control.git +pve-storage.git +pve-qemu-kvm.git +qemu-server.git +vncterm.git +vzquota.git +vzctl.git +fence-agents-pve.git +resource-agents-pve.git +pve-manager.git +pve-kernel-2.6.32.git +libiscsi.git +gfs2-utils.git +ksm-control-daemon.git + +Most packages can be installed with 'make dinstall' command. 4. Reboot the system. 5. Learn to use the quilt patch scripts. @@ -48,7 +59,11 @@ Most source can be installed with 'make dinstall' command. There is an experimental package containing the API documentation as ExtJS application: -pve2-api-doc/trunk +pve2-api-doc.git + +You can view the source code at: + +https://git.proxmox.com REST vs. SOAP @@ -77,7 +92,7 @@ Additionally, we use JSON Schema [2] to formally describe our API. So we can automatically generate the whole API Documentation, and we can verify all parameters and return values. -An great side effect was that we are able to use JSON Schema to +A great side effect was that we are able to use JSON Schema to produce command line argument parsers automatically. In fact, the REST API and the command line tools use the same code.