GithubHelp home page GithubHelp logo

dantaframework / aemdemo Goto Github PK

View Code? Open in Web Editor NEW
5.0 8.0 7.0 5.93 MB

This package contained AEM application for demoing Danta Framwork's capabilities of being platform agnostic.

License: GNU Affero General Public License v3.0

HTML 9.50% CSS 0.53% JavaScript 83.68% Java 6.28%
dantaframework aem demo

aemdemo's Introduction

Danta - AEM Demo Project

Danta is the agnostic multi-platform templating engine. enables developers and IT teams to use technologies they already know, expediting the creation and leveraging of reusable technical assets.

Danta - AEM Demo Project is the maven project contained source codes specifically for demoing Danta capability on AEM.

Prerequisites

  • Java 8
  • AEM 6.2 or later (for integration with AEM)
  • ACS AEM Commons

Documentation

Embedded Dependencies

This project embeds Danta dependencies using content-package-maven-plugin plugin, and is actived with deploy-aem-package profile. Danta bundles and AEMBase package will be installed under /apps/dantademo/install directory. See more about DantaFramework/AEM

Installation

  • Via AEM Package Manager, install ACS AEM Commons 3.17.0 or later
  • Clone this repository and review or change the Danta version in the pom.xml file
<properties>
      ...
       <!-- Danta version -->
      <danta.api.version>1.0.2-SNAPSHOT</danta.api.version>
      <danta.core.version>1.0.2-SNAPSHOT</danta.core.version>
      <danta.aem.version>1.0.6-SNAPSHOT</danta.aem.version>
      <danta.aem-base.version>1.0.2-SNAPSHOT</danta.aem-base.version>
  </properties>
  • Compile and deploy to AEM (See instructions below)

    Note: for fresh installation, make sure to install ACS Common before running the maven build command

Official documentation

License

Read License for more licensing information.

Contribute

Read here for more information.

Compile

mvn clean install

Deploy to AEM

Build to author instance

mvn clean install -Pdeploy-aem-package

Build to publish instance

mvn clean install -Pdeploy-aem-publish-package

Maven Build Failure

If maven build failed with error message, similar to below

Request failed: org.apache.jackrabbit.vault.packaging.PackageException: javax.jcr.nodetype.ConstraintViolationException: OakConstraint0021: /home/users/system/danta/zuskqdMThcLm-W1-QBV4[[rep:SystemUser]]: Mandatory property rep:principalName not found in a new node (500)

This is to "danta-config-service". To fix this:

or you can install via command line:

curl -u admin:admin -F file=@"SystemUser-DantaBase-1.0.0.zip" -F name="SystemUser-DantaBase-1.0.0.zip" \
        -F force=true -F install=true http://localhost:4505/crx/packmgr/service.jsp

Credit

Special thanks to Jose Alvarez, who named Danta for the powerful ancient Mayan pyramid, La Danta. La Danta is the largest pyramid in El Mirador—the biggest Mayan city found in Petén, Guatemala.

aemdemo's People

Contributors

chepeftw avatar dhughes-xumak avatar jbarrera-xumak avatar jjankowiak-xumak avatar neozilon avatar nimsothea avatar palecio-xumak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aemdemo's Issues

Deploy project bundle only

Current behavior

The project only has one profile to deploy all the project and embed dependencies,
this is the command mvn clean install -Pdeploy-aem-package, but there is no other profile to deploy only the project bundle

Expected behavior

If you want to deploy only the Java code you should deploy only the project bundle

Possible solution

Create a new profile to deploy the Java code only

Fix readme installing instruccions

This project makes an embed of the dependencies from Danta projects, so you don't have to build that dependencies or install them to work with this project.

Problems for compiling the project due to the maven-scr-plugin

Current behavior

It does not compile with the current maven-scr-plugin version.

Expected behavior

It should compile successfully.

Possible solution

Upgrading the version of the maven-scr-plugin from 1.20.0 to 1.23.0

Steps to reproduce (for bugs)

  1. Clone the repo.
  2. Run mvn clean install and this should fail

Environment (for bugs)

  • Danta versions: NA
  • AEM version: NA
  • Java version: 1.8
  • Maven version: 3.5.2

Navigation component could use the default Danta traversed list functionality

  • It could be use the default traversed or curated functionality from Danta instead of adding a new ContextProcessor.
  • Also If it only will use the configuration from global dialog, remove the configuration from the local dialog.
  • The page have to be refreshed manually after edit the component to see the new changes.

Missing files for Sling Models functionality

Maybe there are some things pending to push for sling models because in the apps it is only a nt:folder with the script, and I don't see any Sling model class in the bundle.

Update artifactId, groupId and Danta dependencies

Artifacts Id for Danta projects were changed from "Danta" to "io.tikaltechnologies.danta", It needs to be updated for this project too.
Groups Id also were changed to lowercase, I think for this project we can use "aem-demo".
Also is needed to change the Danta dependencies on the POMs to use those with the new artifactsId and groupId.

Add to Drone CI

Current behavior

n/a

Expected behavior

n/a

Possible solution

n/a

Steps to reproduce (for bugs)

n/a

Environment (for bugs)

  • Danta versions:
  • AEM version:
  • Java version:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.