-
Notifications
You must be signed in to change notification settings - Fork 2
The Demo module
German Vekhorev edited this page May 27, 2021
·
3 revisions
This is not really a standalone module itself. It's just a working (copy-pasteable and runnable) example of how you can use Access Warden. Basically, it's a complete Gradle project that demonstrates some of the capabilities of Access Warden.
You can find its source code here.
Assuming you already have Maven and Gradle installed on your device and have at least some very basic experience working with them, follow these steps to get the Demo running on your local machine within a minute:
- Clone the whole access-warden git repository/folder to your local device (with all modules!).
- Open the copied folder in your favorite IDE (e.g. IntelliJ IDEA) or
cdinto it, if you're using the command line. - Run the Gradle build task against the access-warden-demo module (
./gradlew access-warden-demo:buildfor command line). - Wait for all the dependencies to be installed and/or updated, then for the
buildtask to complete. - Run the final JAR (
java -jar access-warden-demo/build/libs/access-warden-demo-1.jarfor command line) and explore the output. Go experiment with the code as well!