Giter Club home page Giter Club logo

hybris's Introduction

Hybris Development Boilerplate

An ant based Hybris development boiloerplate with automations.

Prequiresites

  • Java SDK Version >= v8
  • ANT_HOME defined in System environment variables (version >= 1.9.0).
  • ANT_OPTS defined in System environment variables (OPTIONAL), e.g. -Xmx512m -Dfile.encoding=UTF-8.
  • HYB_BIN_DIR defined and appointed to your local Hybris bin package by the following orders:
    • passed in by CLI.
    • defined in System environment variables.
    • defined in .env (ignored by .gitignore).

Getting Started

git clone https://github.com/jimzhan/hybris.git && cd hybris
ant bootstrap

bootstrap will first try load .env from ${basedir} to provide additional settings supports, then pre-defined Hybris packages will be copied into bin folder. Two settings profiles will be generated under config folder afterward:

  • config/develop - settings profile for development (default), generated via Hybris develop template.
  • config/testing - settings profile for online testing, generated via Hybris production template.

NOTE you generate new settings profile using following command:

ant createConfig -DHYBRIS_CONFIG_DIR=`pwd`/config/<profile> -Dinput.template=<develop or production>

OOTB MOD

  • startHybrisServer - starts Hybris server at the foreground (default) or background (via -Dmode=start, synonym to tomcat arguments).
  • stopHybrisServer - stops Hybris server at the background (if any).

Scaffoldings

  • bootstrap - create a new instance with multi settings profiles supports (develop/develop, testing/production).
  • purge - delete all generated data files and folders (data, log, roles, temp and velocity.log).

Why Ant?

  • simple, elegant and performant โค๏ธ
  • first class integration with Hybris OOTB automations.
  • fast and stable, especially comparing to Gradle ๐Ÿ’ฉ.

NOTE Hybris OOTB ant tasks remain the same.

TODOs

  • editor/IDE/GIT settings.
  • Hybris OOTB ant tasks integrations.
  • Multi settings profiles supports.
  • daemon server supports.
  • create new settings profile.
  • checkstyle integration (pre-build).
  • running server detections.

hybris's People

Contributors

jimzhan avatar

Watchers

 avatar

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.