Skip to content

Getting Started for Developers

gary-rowe edited this page Nov 1, 2012 · 5 revisions

Grower's Nation Site (GNS) is a Java web application built using Maven 3 using the Dropwizard framework. It is a client application for the Grower's Nation Platform.

Initial build and start for latest release candidate (develop-SNAPSHOT)

Clone the develop branch, which contains the latest available production release, then navigate to the top level of the project and execute the following command:

mvn clean install

This will trigger a fairly significant build process if it's the first Maven build on your system. You might want to grab a coffee. Once the build completes successfully, you can issue the following command:

java -jar gns-develop-SNAPSHOT.jar server gns.yml

This will start the Grower's Nation Site application. You should see no exceptions on startup, and a large banner message. Afterwards, you will get a nice HTML user interface by navigating to:

http://localhost:9090

You should see the website homepage and have the opportunity to navigate around the site.

Starting the latest release

This is the same as for the release candidate, but uses the master branch.

Account credentials

There are various accepted logins in the test configuration that you can try out:

  • alice/alice1 - A grower with no profile information
  • bob/bob1 - A grower with some profile information from a previous visit

Clone this wiki locally