Giter Site home page Giter Site logo

al-sayer-dip's Introduction

Alsayer Setup Instruction

This document helps you setup local environment for Alsayer Project.

Prerequisites

Installation Setup :

  1. Create a codebase directory for cloning the repository. Open the command prompt/terminal inside the directory and run the command :

    git clone https://github.com/aspiredigital-ae/Al-Sayer-DIP.git

    It will ask for your Github id and password, provide the details accordingly.

  2. Create your local branch for your custom changes:

  • For windows you can use Tortoise git or SourceTree to create a branch under origin/develop.

  • For Linux/Mac run command -

    To create and checkout from origin/develop to your branch

    git checkout -b <branch_name> develop

    To create branch in the repo

    git push -u origin <branch_name>

  1. Create symlinks for custom by running the following commands in cmd/terminal :
  • For Windows :

    Symlink for custom folder from the Alsayer codebase

    mklink /D {hybris_installation_dir}/hybris/bin/custom {alsayer_codebase_dir}/Al-Sayer-DIP/core-customize/hybris/bin/custom

  • For Linux/Mac :

    Symlink for custom folder from the Alsayer codebase

    ln -s {alsayer_codebase_dir}/Al-Sayer-DIP/core-customize/hybris/bin/custom {hybris_installation_dir}/hybris/bin/custom

  1. Copy and paste alsayer-receipe in your {hybris_installation_dir}/installer/recipes which is present your codebase.

  2. Open a terminal or command prompt window inside the installer folder i.e., {hybris_installation_dir}/installer and set up the recipe using the following command:

    ./install.sh -r alsayer-receipe

    If you are using Windows, change ./install.sh to install.bat.

  3. Go to your platform directory to {hybris_installation_dir}/hybris/bin/platform and run following commands to access the site -

  1. You can see the alsayerstore, the spartacus storefront present in repo/js-storefront/alsayerstore and can start server inside alsayerstore as:

    yarn install

    yarn start

    And can access the spartacus site form link https://locahost:4200

  2. Create symlinks for localextensions.xml and local.properties by running following commands in cmd/terminal:

  • For Windows :

    Symlink for local.properties :

    mklink /D {hybris_installation_dir}/hybris/config/local.properties {alsayer_codebase_dir}/Al-Sayer-DIP/core-customize/config/local.properties

    Symlink for localextensions.xml:

    mklink /D {hybris_installation_dir}/hybris/config/localextensions.xml {alsayer_codebase_dir}/Al-Sayer-DIP/core-customize/config/localextensions.xml

  • For Linux/Mac :

    Symlink for local.properties :

    ln -s {alsayer_codebase_dir}/Al-Sayer-DIP/core-customize/config/local.properties {hybris_installation_dir}/hybris/config/local.properties

    Symlink for localextensions.xml:

    ln -s {alsayer_codebase_dir}/Al-Sayer-DIP/core-customize/config/localextensions.xml {hybris_installation_dir}/hybris/config/localextensions.xml

al-sayer-dip's People

Contributors

krishnakumar-aspire avatar ankush-aspire avatar archanaprasad-aspire avatar selvaajitha-aspire avatar ashlammohamed avatar dependabot[bot] avatar ashlam-aspire 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.