All Projects → pwittchen → ydocker

pwittchen / ydocker

Licence: Apache-2.0 license
[unofficial PoC] get, build, initialize and run SAP Hybris Commerce Suite inside Docker container

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to ydocker

flexiblesearchbuilder
Flexible search query builder is SAP Hybris Commerce extension (released as a library) that provides developer-friendly way to build flexible search queries. The aim of this extension is to write().flexibleSearchQueries().easily() in compile-time safe manner without a need to remember the syntax.
Stars: ✭ 15 (-46.43%)
Mutual labels:  hybris, sap-hybris
bw toolbox
📊 🔨 📦 Collection of all tools for SAP BW useful for daily work
Stars: ✭ 24 (-14.29%)
Mutual labels:  sap
cpi-dashboard
The Dashboard for SAP CPI is an IFlow-based monitoring tool for SAP CPI.
Stars: ✭ 27 (-3.57%)
Mutual labels:  sap
MCW-Template-Cloud-Workshop
Official Microsoft Cloud Workshop Template
Stars: ✭ 36 (+28.57%)
Mutual labels:  sap
NwRfcNet
An easy way of making SAP RFC calls from .NET Core
Stars: ✭ 83 (+196.43%)
Mutual labels:  sap
light-odata
OData(V2/V4) Client for javascript/typescript
Stars: ✭ 25 (-10.71%)
Mutual labels:  sap
ui5-schemas
🚀 UI5 Schemas allows you to develop SAPUI5/OpenUI5 XML at a maximum convenience. It downloads, upgrades and sets up SAPUI5/OpenUI5 XML schemas for a better development experience in your favorite IDE (if it is WebStorm ;).
Stars: ✭ 50 (+78.57%)
Mutual labels:  sap
cds-pg
PostgreSQL adapter for SAP CDS (CAP)
Stars: ✭ 84 (+200%)
Mutual labels:  sap
xtt
ABAP template engine for Excel, Word, Html & Pdf
Stars: ✭ 21 (-25%)
Mutual labels:  sap
yaas-getting-started-yaasbites
YaaS bites (our getting started series) is a tutorial and sample code set consisting of small, incremental coding exercises to help a developer learn the basics of the YaaS platform. Its goal is to ensure that a Software Developer's initial journies into YaaS are productive and successful.
Stars: ✭ 14 (-50%)
Mutual labels:  hybris
SDK-python
SAP Conversational AI official SDK for Python
Stars: ✭ 22 (-21.43%)
Mutual labels:  sap
FluentERP
ERP mobile application for Android with a support for SAP-like T-codes!
Stars: ✭ 18 (-35.71%)
Mutual labels:  sap
Clownfish
Smart Content Management System using Spring Boot
Stars: ✭ 14 (-50%)
Mutual labels:  sap
core-next
core-next microservice framework
Stars: ✭ 14 (-50%)
Mutual labels:  hybris
openui5-validator
A library to validate OpenUI5 fields
Stars: ✭ 17 (-39.29%)
Mutual labels:  sap
cutie-shell
A mobile QtWayland compositor and shell and for smartphones and tablets.
Stars: ✭ 21 (-25%)
Mutual labels:  hybris
abap2xlsx
Generate your professional Excel spreadsheet from ABAP
Stars: ✭ 493 (+1660.71%)
Mutual labels:  sap
ABAPFavorites
ABAP Favorites Eclipse Plugin
Stars: ✭ 23 (-17.86%)
Mutual labels:  sap
fundamental-tools
Web applications with ABAP, done simple.
Stars: ✭ 42 (+50%)
Mutual labels:  sap
nwabap-ui5uploader
This module allows a developer to upload SAPUI5/OpenUI5 sources into a SAP NetWeaver ABAP system.
Stars: ✭ 15 (-46.43%)
Mutual labels:  sap

ydocker

get, build, initialize and run SAP Hybris Commerce Suite inside Docker container

It's unofficial PoC for experimental purposes! It's not supported by SAP Hybris! Do NOT use it in production!

Read a blog post about dockerizing Hybris.

Please note: Since version 6.3 Hybris has built-in recipes with Docker support and it's recommended solution. This repository contains only unofficial Proof of Concept with development setup.

Contents

Quick start

If you have already installed Docker and Git, just open the terminal and do the following things:

git clone https://github.com/pwittchen/ydocker.git
cd ydocker/
./ydocker -b

Provide your credentials and wait while container is being created. It may take about 30 minutes or more.

When it's done, run the server with the following command:

./ydocker -r

Wait a while, let the server to start up and then check if everything works by visitng the following URL:

https://localhost:9002/backoffice

That's it!

Usage

If you haven't installed Docker yet, go to the section about installing Docker first.

You can use helper shell script called ydocker with the following parameters:

-b    building Docker container
-r    running Hybris Server in Docker container
-c    running Docker container with CLI
-i    showing info about Docker container
-u    showing Commerce Suite Download Url
-d    deleting Docker container
-h    showing help

Inside .ydocker.conf file you can view or customize the following parameters:

  • Docker image name
  • Commerce Suite version (set latest to keep your software fresh - you can also set specific version like 6.2; in the latest releases versioning style was changed, so latest may not refer to the latest version - it's recommended to specify the concrete version - e.g. 18.08)
  • Artifact type (snapshot or release)
  • Recipe
  • Host port
  • Container port

Please remember that you need to have your own SAP e-mail and password in order to be able to download SAP Hybris Commerce Suite from Hybris repository inside Docker container.

Installing Docker

If you haven't installed Docker yet, follow instructions below.

Ubuntu

If you are using Ubuntu Linux and want to install Docker, follow official instructions for Installation on Ubuntu from the Docker website.

macOS

If you are using macOS and want to install Docker, get Docker for Mac from the official Docker website.

Resolving problems with Docker

When you get the following message: cannot connect to docker daemon:

  • Make sure that Docker daemon is running by typing: sudo service docker status
  • If Docker daemon is stopped, type: sudo service docker start
  • Type sudo before every Docker command (works on Ubuntu Linux)

When you get the following message: port is already allocated:

  • Restart Docker daemon by typing: sudo service docker restart and run container again (works on Ubuntu Linux)

Server endpoints

  • Hybris Administration Console (HAC): https://localhost:9002/
  • Backoffice: https://localhost:9002/backoffice
  • B2C accelerator: https://localhost:9002/yacceleratorstorefront/en/?site=apparel-uk&clear=true

Platform build version

To get information about build and version of the platform inside created container, use the following commands:

./ydocker -c
cat /home/sap-hybris-commerce-suite/hybris/bin/platform/build.number

Remarks

This repository does not contain any source code or libraries of SAP Hybris Commerce Suite. It just downloads them, if you provide valid credentials to the shell script. You should have such credentials if you're company employee or partner. You'll need a lot of space on disk (probably about 12 GB, but I think 15 GB is safe number), because Commerce Suite is huge project. Size of built container is 6.8 GB. Moreover, it's not official company's repository. It's just proof of concept and may be not fully functional and stable.

Testing

This solution was tested on the following systems:

  • Ubuntu Linux 14.04 LTS
  • OS X El Capitan 10.11.6

Building container and running the application went fine. Docker was installed according to the official instructions.

References

General links

Similar projects

License

Copyright 2016 Piotr Wittchen

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].