Skip to main content
Version: 8.5.x

Get the Source Code

Required

This step is required. The source repository depends on your path. See Choose Your Path.

Set up Git​

  1. Set up an SSH key for the Git server. For instructions, see the documentation for your Git server. For code.elasticpath.com, see Generate an SSH key pair and Add an SSH key to your GitLab account.

  2. Configure Git to convert line endings to LF on commit:

    git config --global core.autocrlf input

Clone the Repository​

Windows File Path Limitation

On Windows, clone to a directory with a path of 20 characters or fewer. Windows file paths are limited to 260 characters, and the longest file path in the source code is more than 230 characters.

Team Developer​

  1. Get the URL of your team's ep-commerce Git repository from your team.

  2. Clone the repository:

    git clone <your-team-repository-url>
  3. Check out the development branch that your team uses.

note

If your team has no hosted copy of the source code, a team lead must first follow Hosting the Self-Managed Commerce Source Code.

Individual Developer​

  1. Clone the Self-Managed Commerce repository from code.elasticpath.com:

    git clone git@code.elasticpath.com:ep-commerce/ep-commerce.git
  2. Check out the release branch for the version that you want to use:

    git checkout release/<major>.<minor>.x

    For example, release/8.8.x. Each release branch contains the source code for the release and all its patches.

Next Step​

Configure Maven.