Importing the Commerce Cloud Endless Aisle Project

You import the app code into Appcelerator Studio; you import the server API code into Eclipse.
  1. In Appcelerator Studio, select File > Import > General > Existing Projects into Workspace and click Next.
  2. Next to Select root directory, click Browse and point to the folder where you have the Endless Aisle app source code.
  3. In Eclipse, select File > Import > General > Existing Projects into Workspace and click Next.
  4. Next to Select root directory, click Browse and point to the folder where you have the Endless Aisle API source code.
  5. If you don't already have a server connection in Eclipse, follow the instructions in Connecting to a Server.
  6. Ensure that the required Endless Aisle API cartridges are in the project references for the server.
    1. In Eclipse in the Navigator or Project Explorer tab, right-click the Commerce Cloud server for your server instance and select Properties.
    2. Select the cartridges you are using for your environment (the ones that are in your cartridge path, including bm_instore).
    3. If you are using controllers, and have not already done so, add the app_storefront_controller cartridge (available in https://github.com/SalesforceCommerceCloud/sitegenesis) as a project references, because it needs to be uploaded on the server.
      Endless Aisle uses app_storefront_controllers for guard.js. If you are using controllers on your storefront, you probably already have uploaded it to your server you can skip this step.
  7. Upload the cartridges to the server:
    1. In Eclipse in the Navigator or Project Explorer tab, right-click the Commerce Cloud server for your server instance and select Salesforce B2C Commerce Server.
    2. Select Upload Cartridges and enter your credentials.
  8. Next step is Updating the Cartridge Path.