Giter Site home page Giter Site logo

vardyger-2's Introduction

The Vardyger 2 Publishing Platform

Prerequisites

  • OpenJDK for Java 1.8
  • Git
  • Maven (I'm using 3.3.9)
  • The Eclipse IDE for Java EE Developers (I'm using Neon)
  • The Sling Launchpad

Note: This post will walk you through the steps required to install the OpenJDK for Java 1.8. This post will walk you through the steps required to install Git, Maven and the Eclipse IDE. And, this post introduces the Apache Sling Launchpad.

Download and start Apache Sling

This project requires Apache Sling.

  1. Download the Apache Sling Launchpad.
  2. Start the Launchpad by running the following command:
java -Xmx1024M -jar org.apache.sling.launchpad-8.jar

Note: The Sling Launchpad will take a few minutes to unpack, install itself, and start up.

Build

Build and deploy to a running instance of the Sling Launchpad:

cd ui.content
mvn clean install -PautoInstallBundle

Login

Navigate to http://localhost:8080/author/index.html.

You should see something like:

Author UI screenshot

Choose "New Post" and you should see something like:

Author UI screenshot

Maven Archetypes

Three Maven archetypes where used to kickstart this project (this is purely informational, you do not need to run the following commands).

  1. Create the parent pom:
mvn archetype:generate \
    -DarchetypeGroupId=org.codehaus.mojo.archetypes \
    -DarchetypeArtifactId=pom-root \
    -DarchetypeVersion=RELEASE \
    -DgroupId=org.vardyger \
    -DartifactId=vardyger \
    -Dversion=1.0.0-SNAPSHOT \
    -DinteractiveMode=false
  1. Create the "core" bundle project:
mvn archetype:generate \
    -DarchetypeGroupId=org.apache.sling \
    -DarchetypeArtifactId=sling-bundle-archetype \
    -DgroupId=org.vardyger \
    -DartifactId=core \
    -Dversion=1.0.0-SNAPSHOT \
    -Dpackage=org.vardyger.core \
    -DappsFolderName=vardyger \
    -DartifactName="core" \
    -DpackageGroup="core" \
    -DinteractiveMode=false  
  1. Create the "ui.content" content project:
mvn archetype:generate \
    -DarchetypeGroupId=org.apache.sling \
    -DarchetypeArtifactId=sling-initial-content-archetype \
    -DgroupId=org.vardyger \
    -DartifactId=ui.content \
    -Dversion=1.0.0-SNAPSHOT \
    -Dpackage=org.vardyger.ui.content \
    -DappsFolderName=vardyger \
    -DartifactName="ui.content" \
    -DpackageGroup="ui.content" \
    -DinteractiveMode=false  
  1. Create the "author" project:
ionic start author sidemenu

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.