There are a few things required to setup the development environment:
Install MySQL server
Install Tomcat
Install/Configure Eclipse
Install Git
Clone this repository
I setup my environment on Windows 7, so your mileage may vary if you're using a different OS.
MySQL server
You can use the windows installer (5.5.17) on the mysql website. I installed all the components except for some visual studio workbench stuff.
Tomcat
Download version 6.0.33 from http://tomcat.apache.org/. I downloaded the zip package and unzipped it into c:\apps.
Eclipse
Download eclipse if you don't already have it. I'm using Eclipse Indigo, but older versions should work but might need some tweaking. In order to startup and run the tomcat server, you need the web tools platform (http://www.eclipse.org/webtools/) which might have other dependencies on the Jave EE version of eclipse. I don't know the details, so we'll have to work through that together if we run into problems.
See 'clone' in http://help.github.com/remotes/. Once you've successfully cloned the repository, try importing it into eclipse (... something like 'import from existing eclipse project'...)
Prime the db
The base project currently queries some values in a 'feedback' table taken from this tutorial: http://www.vogella.de/articles/MySQLJava/article.html. Follow step 4 to create the table and initialize it with some values that the program can read.
There are a few things required to setup the development environment:
I setup my environment on Windows 7, so your mileage may vary if you're using a different OS.
MySQL server
You can use the windows installer (5.5.17) on the mysql website. I installed all the components except for some visual studio workbench stuff.
Tomcat
Download version 6.0.33 from http://tomcat.apache.org/. I downloaded the zip package and unzipped it into c:\apps.
Eclipse
Download eclipse if you don't already have it. I'm using Eclipse Indigo, but older versions should work but might need some tweaking. In order to startup and run the tomcat server, you need the web tools platform (http://www.eclipse.org/webtools/) which might have other dependencies on the Jave EE version of eclipse. I don't know the details, so we'll have to work through that together if we run into problems.
Install git
Install git for windows if you haven't already (http://code.google.com/p/msysgit/). You'll also need to setup your public/private keys on github if you haven't already (http://help.github.com/win-set-up-git/)
Clone our private repository
See 'clone' in http://help.github.com/remotes/. Once you've successfully cloned the repository, try importing it into eclipse (... something like 'import from existing eclipse project'...)
Prime the db
The base project currently queries some values in a 'feedback' table taken from this tutorial: http://www.vogella.de/articles/MySQLJava/article.html. Follow step 4 to create the table and initialize it with some values that the program can read.