Elastic Path Commerce Development

Preparing Elastic Path Commerce Source Code

Preparing Elastic Path Commerce Source Code

Ensure that you have the following:

This section provides instructions to prepare Elastic Path Commerce source code for your project.

  1. Navigate to https://code.elasticpath.com/ep-commerce/ep-commerce.
  2. Clone the Git repository.
    Note: When you clone an Elastic Path Commerce repository for the first time, follow the instructions in the Cloning via HTTPS guide.
    Warning: Windows File Path Limitation - Do not clone to a directory with a file path greater than 20 characters. Windows file paths are limited to 260 characters. The longest file path in the source code is greater than 230 characters.
    Tip:

    Configure Git to convert line ending to LF on input.

    The command to configure this is:
    git config --global core.autocrlf input
  3. Check out the correct branch and release version of Elastic Path Commerce.
    Tip: Each version branch contains the source code for the release and the subsequent patches. Enable Watch for the repository to get notification of any updates.
  4. Create a development branch in your local repository. The branch name depends on the SCM and branch naming conventions.
  5. Add the Elastic Path Commerce repository to your Git hosting service.
  6. Push the development branch to the Git hosting service.