Prepare Source Code
In this document
Prepare Source Code
Overview
This page describes how to prepare Elastic Path source code for use by your project. The following diagram shows the steps:
Setup Local Build Environment
Unzip Source Release Packages
Elastic Path Commerce source code is delivered in the following release package:
Release Package | Contents |
---|---|
EP-Commerce-7.3.0.zip | Core Commerce, Cortex |
- Unzip the contents of the release package into your project source directory.
Configure the Maven settings.xml File
The extensions module has a maven/individual-settings.xml you will use.
- Change EP_REPOSITORY_USER and EP_REPOSITORY_PASSWORD
to the credentials used for connecting to the public Elastic Path Maven
repository.
- <servers>
- <server>
- <id>ep-public</id>
- <username>EP_REPOSITORY_USER</username>
- <password>EP_REPOSITORY_PASSWORD</password>
- </server>
- <server>
- <id>ep-cortex</id>
- <username>EP_REPOSITORY_USER</username>
- <password>EP_REPOSITORY_PASSWORD</password>
- </server>
- <server>
- <id>ep-commerce-engine</id>
- <username>EP_REPOSITORY_USER</username>
- <password>EP_REPOSITORY_PASSWORD</password>
...
Read more - Make any changes required for your project environment.
- Commit the changes to source control.
- Rename individual-settings.xml to settings.xml copy it to your ${user.home}/.m2 directory.
Set up local Developer environment
Follow the instructions at Setting up your Developer Environment to configure, build, and run Elastic Path Commerce in a command line environment.