Skip to content

Building Istructions

giovo87 edited this page Jun 26, 2012 · 12 revisions

The first step of this process is to get a copy of the source code of the application from GitHub. In order to do this, you have to install Git in your machine. If you have already installed it, you are ready to get the code of the Http-Proxy application executing these command:

you@prompt:~$ mkdir http-proxy
you@prompt:~$ cd http-proxy/
you@prompt:~/http-proxy$ git clone https://github.com/geosolutions-it/http-proxy.git

If you want to install the Http-Proxy application into your web server, you must first install Maven in your machine. If you have already installed it you can open the prompt, go to the directory containing the POM.xml file and then execute the install command:

you@prompt:~/http-proxy$ mvn clean install

The next step is to open your Servlet Container and deploy the file with .war extension, created with the previous command into the target folder.

If you want to generate the Eclipse project from the POM file, it's necessary to open the prompt and execute the follow command:

you@prompt:~/http-proxy$ mvn eclipse:eclipse

With this command Maven creates all the Eclipse project's files and after that you are able to import the project into Eclipse.

Clone this wiki locally