Get the Source Code
This step is required. The source repository depends on your path. See Choose Your Path.
Set up Git
-
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. -
Configure Git to convert line endings to
LFon commit:git config --global core.autocrlf input
Clone the Repository
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
-
Get the URL of your team's
ep-commerceGit repository from your team. -
Clone the repository:
git clone <your-team-repository-url> -
Check out the development branch that your team uses.
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
-
Clone the Self-Managed Commerce repository from
code.elasticpath.com:git clone git@code.elasticpath.com:ep-commerce/ep-commerce.git -
Check out the release branch for the version that you want to use:
git checkout release/<major>.<minor>.xFor example,
release/8.8.x. Each release branch contains the source code for the release and all its patches.