Installation
Running standalone Web-Client
Use Docker image atomgraph/web-client.
Using Web-Client in your application
To add Web-Client dependency:
-
for a stable version
-
for a
SNAPSHOTversion -
add 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>com.atomgraph</groupId> <artifactId>client</artifactId> <version>2.0.4</version> <classifier>classes</classifier> </dependency> <dependency> <groupId>com.atomgraph</groupId> <artifactId>client</artifactId> <version>2.0.4</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>com.atomgraph</groupId> <artifactId>client</artifactId> </overlay> </overlays> -
add or edit
main/webapp/WEB-INF/web.xmlwith Configuration
Building from source
- build it as
jarusing Maven (dependencyMaven profile:mvn -Pdependency package) - build it as
warusing Maven (standaloneMaven profile:mvn -Pstandalone package)