-
Notifications
You must be signed in to change notification settings - Fork 14
Installation
To run AtomGraph Web-Client:
- build from source as a Maven Web application
- run the webapp in an IDE or deploy the
.waron a servlet container such as Tomcat - open the webapp in a browser (on an address such as http://localhost:8080/graphity-client; it depends on host, Tomcat port and application context path)
To add AtomGraph Web-Client dependency:
-
for a stable version
-
for a
SNAPSHOTversion -
add AtomGraph Web-Client as a Maven dependency in your project using an IDE, or in the
pom.xmlfile.<classifier>classes</classifier>addresses thejarartifact built intowar. The<type>war</type>dependency enables reuse of static resources from AtomGraph Web-Client, such as Twitter Bootstrap<dependencies> <dependency> <groupId>org.graphity</groupId> <artifactId>client</artifactId> <version>1.1.3</version> <classifier>classes</classifier> </dependency> <dependency> <groupId>org.graphity</groupId> <artifactId>client</artifactId> <version>1.1.3</version> <type>war</type> </dependency> </dependencies> -
to import static resources enabled by the
<type>war</type>dependency, add a Maven overlay under<configuration>ofmaven-war-plugin:<overlays> <overlay> <groupId>org.graphity</groupId> <artifactId>client</artifactId> </overlay> </overlays> -
add or edit
main/webapp/WEB-INF/web.xmlwith Configuration
- install AtomGraph Core dependency
- checkout the source code
- build it as
jarusing Maven (dependencyMaven profile:mvn -Pdependency package) - build it as
warusing Maven (standaloneMaven profile:mvn -Pstandalone package)
When you produce a WAR file of Web-Client application, it needs to be deployed on a servlet container. We run and test on Tomcat 7, but Tomcat 8 and others such as Glassfish or Jetty should also work. You might need to configure Tomcat options, for example:
-XX:MaxPermSize=256m -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true