IMDB Setup
From NeoWiki
As you probably want to set up the application and run it, some instructions for this are found here.
Contents |
[edit] Setup your environment
No previous experience using Maven? No problem at all, you'll just have to install it and follow the instructions. We already configured everything for you.
[edit] Setup the project
- Download the application: temporary location for svn: [1]
- Make sure everything compiles:
$ mvn [INFO] Scanning for projects... ... <lots and lots of download spam> ... [INFO] BUILD SUCCESSFUL ... $
[edit] Running the application
-
mvn jetty:run - browse to
localhost:8080/imdb - the port number is set in pom.xml, if you want to change it
-
mvn jetty:stopis used to stop the service
If you are using the Eclispe IDE m2eclipse plug-in, the run configuration for the first Maven goal would look like this:
[edit] Load data into the node space
- browse to
localhost:8080/imdb/setup.html - run the data injection from the page
- only inject the data once!
[edit] Suggested development environment
We found these tools to be useful for developing this application.
- Eclipse 3.4(Ganymede)+ (the Java EE package includes Web Tools)
- Eclipse Maven2 plugin (includes its own Maven 2)
- Spring IDE
As for OS, we have tested the application under Ubuntu, Windows Vista (doable, but not recommended!) and some other systems.
Next part: IMDB The Domain


