Get Started - renepickhardt/related-work.net GitHub Wiki
This is a quick and dirty Tutorial to get going.
Software to install / download
Download Eclipse 3.7 http://www.eclipse.org/downloads/packages/release/indigo/sr2
install maven http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html or just use
sudo apt-get install maven2
install git (We really hope there is nothing to add here)
several plugins for eclipse
- eclipse gwt plugin https://developers.google.com/eclipse/docs/getting_started
- eclipse maven plugin m2e http://eclipse.org/m2e/
- eclipse gwtp plugin http://code.google.com/p/gwt-platform/wiki/EclipsePlugin
get the data base
- from data.related-work.net
- you might wanna have the precompiled file to create an autocompletion http://blog.related-work.net/raw-data/small_auto_complete_index.txt.tar.gz or the full indexable file at: http://blog.related-work.net/raw-data/auto_complete_store.txt.tar.gz
Checkout the project
- look into Config.java to find the directory in which config.txt should be placed (as of writing this article you find this in line 38) In this file you find further instructions on how to set the fields in your configuration file.
Stuff you need to do in your IDE
- import this project as maven project in eclipse (select the root folder of RelatedWork in which the pom.xml exists)
- Tell eclipse that this project should be seen as a google web toolkit project (right click the project folder, google, web toolkit settings. Then check the box at: use as web toolkit project.)
if you run from the console use
mvn compile
maven should now download all the dependencies. Finally type
mvn gwt:run
to get the development server running.
Your fine lets go.
deployment
soon to come.
Known Problems
- "no lucene provider found" -- copy libs into war/WAR-INF/lib folder.