You import the app code into Appcelerator Studio; you import the
server API code into Eclipse.
-
In Appcelerator Studio, select File > Import >
General > Existing Projects into Workspace and click
Next.
-
Next to Select root directory, click
Browse and point to the folder where you have
the Endless Aisle app source code.
-
In Eclipse, select File > Import > General >
Existing Projects into Workspace and click
Next.
-
Next to Select root directory, click
Browse and point to the folder where you have
the Endless Aisle API source code.
-
If you don't already have a server connection in Eclipse, follow the instructions in
Connecting to a
Server.
-
Ensure that the required
Endless Aisle API cartridges are in the project references for
the server.
-
In Eclipse in the Navigator or Project Explorer tab,
right-click the Commerce Cloud server for your server instance
and select Properties.
-
Select the cartridges you are using for your environment
(the ones that are in your cartridge path, including
bm_instore).
-
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.
-
Upload the cartridges to the server:
-
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.
-
Select Upload Cartridges and enter
your credentials.
-
Next step is Updating
the Cartridge Path.