Skip to content

Developing on your local machine

jankeesvanandel edited this page May 10, 2013 · 1 revision

This is a readme for getting started quickly

Configuring Apache

(temporarily needed to prevent Same Origin Policy issues)

Uncomment these lines in httpd.conf:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

And add this section at the bottom:

<VirtualHost *:80>
	ServerAdmin test@localhost
	ServerName localhost
	ServerAlias 127.0.0.1

	ProxyPass /cfp-speaker/ http://localhost:8080/cfp-speaker/
	ProxyPassReverse /cfp-speaker/ http://localhost:8080/cfp-speaker/
	ProxyPass /staging-cfp/ http://staging-cfp.devoxx.com/
	ProxyPassReverse /staging-cfp/ http://staging-cfp.devoxx.com/

	ErrorLog "logs/proxy-error.log"
</VirtualHost>

Import project into your IDE

  • Import the project
  • Optionally build it using maven: mvn clean install
  • Create a Tomcat 6 server

Test the application