-
Notifications
You must be signed in to change notification settings - Fork 5
Getting Started for Developers
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.
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.
This is the same as for the release candidate, but uses the master branch.
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