GithubHelp home page GithubHelp logo

isabella232 / magento2-jp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from magento/magento2-jp

0.0 0.0 0.0 17.99 MB

Magento Community Project for providing best experience for Japanese market

License: Open Software License 3.0

PHP 63.16% JavaScript 9.66% HTML 27.18%

magento2-jp's Introduction

Magento 2 Japan

This repository contains set of modules required to provide a necessary user experience for Magento 2 at Japanese market.

Initial implementation of modules listed here provided by Veriteworks Inc.

Any Magento Community member are welcome to join the project.

Goal: Adopt Magento 2 to Japanese market

Slack: #japanese-localization

Release strategy: Modules from this repository are available as separate extensions to Magento 2 with possibility to install them with Composer metapackage community-engineering/japan-common. Metapackage of the project is available at Magento Marketplace.

All development targeted to Magento 2.3 and will be compatible with all further Magento releases.

Committing changes: It is highly encouraged for this project to create feature branches inside this repo. Any contributor should be able to do that.

Installation from Git

For development purpose Magento Japanese modules as well as Magento Open Source should be installed from Git. Magento Commerce, Magento B2B and Magento Sample Data modules also may be installed locally and should not conflict.

Magento Japanese repository contains only extensions that are part of the project and not contains whole clone of Magento Open Source. This approach is called Magento Developed Extensions (MDE) and introduced to increase Magento modularity.

Development installation of Magento Japanese modules requires several simple addition steps to set up of Magento Open Source development environment:

  1. Switch to Magento root folder:

    cd <magento root folder>
  2. Create folder where all MDE extensions will be placed:

    mkdir ext

    To exclude this folder from Git add it to local ignore list:

    echo ext >> ./.git/info/exclude

    Now you still be able to modify source code of Magento Open Source and contribute to GitHub. All MDE (as well as any 3rd party module) may be cloned from GitHub or any other Git repository to ext folder.

  3. Configure Composer to discover packages from ext folder:

    # discover projects that consists from single Composer package/modules
    composer config repositories.extRoot '{"type":"path","url":"ext/*/*","options":{"symlink":true}}'
    
    # discover projects that constains multiple Composer packages/modules
    composer config repositories.extPackage '{"type":"path","url":"ext/*/*/*","options":{"symlink":true}}'
  4. Configure Composer to use development versions of packages:

    composer config minimum-stability dev
  5. Clone source code of Magento Japanese project:

    git clone [email protected]:magento/magento2-jp.git ext/magento/magento2-jp

    We highly recommend to use <vendor>/<project> folders inside ext folder to avoid naming conflicts.

  6. Add Magento Japanese project to your Magento installation:

    composer require community-engineering/japan-common:@dev
  7. To avoid unintentional commit of modified composer.json and composer.lock files skip them:

    git update-index --skip-worktree composer.json
    git update-index --skip-worktree composer.lock

    If in future you would like to contribute changes to these files you may unskip files:

    git update-index --no-skip-worktree composer.json
    git update-index --no-skip-worktree composer.lock

Now Magento Japanese modules are visible to your development Magento instance and you may modify, pull or push source code from ext/magento/magento2-jp folder.

To complete installation process you should install or upgrade Magento to enabled added modules. If you use CLI for Magento installation you may now skip locale, timezone and currency options as they will be provided by JapaneseDefaultConfig module:

php bin/magento setup:install --admin-firstname=Admin --admin-lastname=Admin --admin-user=admin [email protected] --admin-password=123123q --base-url="http://<dev host>/" --base-url-secure="https://<dev host>" --use-secure=1 --use-secure-admin=1 --backend-frontname=admin --db-host=localhost --db-name=<db name> --db-user=<db user> --db-password=<db password> --use-rewrites=1

magento2-jp's People

Contributors

ayaccop avatar bluemooninc avatar hirokazunishi avatar ishakhsuvarov avatar lenaorobei avatar parikshit-hooda avatar taku-yamashita 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.