-
Notifications
You must be signed in to change notification settings - Fork 12
Developing on your local machine
jankeesvanandel edited this page May 10, 2013
·
1 revision
This is a readme for getting started quickly
(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 the project
- Optionally build it using maven: mvn clean install
- Create a Tomcat 6 server
- Deploy the application under context root: /cfp-speaker and start the server
- Go to http://localhost/cfp-speaker