Beefed up .gitignore

Added sample files folder
Working on pants import job example
Added instructions on how to use node, tested with existing project
This commit is contained in:
Max Gialanella 2021-12-22 17:33:29 -07:00
parent e28f44fe57
commit 0636939cc7
3 changed files with 353 additions and 1 deletions

42
.gitignore vendored
View File

@ -2,4 +2,44 @@ node_modules/
static/
dw.json
.DS_Store
.vscode
.vscode
cartridges/app_storefront_base/cartridge/static/default/css/
cartridges/app_storefront_base/cartridge/static/default/js/
cartridges/app_storefront_base/cartridge/static/default/fonts/
cartridges/app_storefront_base/cartridge/static/fr_FR/css/
cartridges/app_storefront_base/cartridge/static/fr_FR/js/
cartridges/app_storefront_base/cartridge/static/fr_FR/fonts/
cartridges/app_storefront_base/cartridge/static/it_IT/css/
cartridges/app_storefront_base/cartridge/static/it_IT/js/
cartridges/app_storefront_base/cartridge/static/it_IT/fonts/
cartridges/app_storefront_base/cartridge/static/ja_JP/css/
cartridges/app_storefront_base/cartridge/static/ja_JP/js/
cartridges/app_storefront_base/cartridge/static/ja_JP/fonts/
cartridges/app_storefront_base/cartridge/static/zh_CN/css/
cartridges/app_storefront_base/cartridge/static/zh_CN/js/
cartridges/app_storefront_base/cartridge/static/zh_CN/fonts/
cartridges/app_storefront_base/cartridge/static/en_GB/css/
cartridges/app_storefront_base/cartridge/static/en_GB/js/
cartridges/app_storefront_base/cartridge/static/en_GB/fonts/
coverage/
npm-debug.log
cartridges.zip
.idea/
sitegenesisdata/
mobilefirstdata/
storefrontdata/
demo_data_sfra/
demo_data_sfra.zip
test/appium/webdriver/config.json
.history
*.iml
.idea
test/acceptance/report
test/integration/config.json

312
Example Files/pants-import.xml Executable file
View File

@ -0,0 +1,312 @@
<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="http://www.demandware.com/xml/impex/catalog/2006-10-31" catalog-id="apparel-m-catalog">
<header>
<image-settings>
<internal-location base-path="/images"/>
<view-types>
<view-type>swatch</view-type>
<view-type>large</view-type>
<view-type>medium</view-type>
<view-type>small</view-type>
</view-types>
<variation-attribute-id>color</variation-attribute-id>
<alt-pattern>${productname}, ${variationvalue}, ${viewtype}</alt-pattern>
<title-pattern>${productname}, ${variationvalue}</title-pattern>
</image-settings>
</header>
<product product-id="blue-pants-1">
<ean/>
<upc/>
<unit/>
<min-order-quantity>1.0</min-order-quantity>
<step-quantity>1.0</step-quantity>
<display-name xml:lang="x-default">Blue Pants</display-name>
<long-description xml:lang="x-default">Blue pants made of denim. Also known as Jeans.</long-description>
<store-force-price-flag>false</store-force-price-flag>
<store-non-inventory-flag>false</store-non-inventory-flag>
<store-non-revenue-flag>false</store-non-revenue-flag>
<store-non-discountable-flag>false</store-non-discountable-flag>
<online-flag>true</online-flag>
<available-flag>false</available-flag>
<searchable-flag>true</searchable-flag>
<searchable-if-unavailable-flag>false</searchable-if-unavailable-flag>
<page-attributes/>
<custom-attributes>
<custom-attribute attribute-id="color">blue</custom-attribute>
<custom-attribute attribute-id="refinementColor">blue</custom-attribute>
<custom-attribute attribute-id="size">S</custom-attribute>
</custom-attributes>
<pinterest-enabled-flag>false</pinterest-enabled-flag>
<facebook-enabled-flag>false</facebook-enabled-flag>
<store-attributes>
<force-price-flag>false</force-price-flag>
<non-inventory-flag>false</non-inventory-flag>
<non-revenue-flag>false</non-revenue-flag>
<non-discountable-flag>false</non-discountable-flag>
</store-attributes>
</product>
<product product-id="red-pants-1">
<ean/>
<upc/>
<unit/>
<min-order-quantity>1</min-order-quantity>
<step-quantity>1</step-quantity>
<display-name xml:lang="x-default">Red Pants</display-name>
<short-description xml:lang="x-default">Matador style pants</short-description>
<long-description xml:lang="x-default">Perfect gift for your bullfighter friend.</long-description>
<store-force-price-flag>false</store-force-price-flag>
<store-non-inventory-flag>false</store-non-inventory-flag>
<store-non-revenue-flag>false</store-non-revenue-flag>
<store-non-discountable-flag>false</store-non-discountable-flag>
<online-flag>true</online-flag>
<available-flag>false</available-flag>
<searchable-flag>true</searchable-flag>
<searchable-if-unavailable-flag>false</searchable-if-unavailable-flag>
<page-attributes/>
<custom-attributes>
<custom-attribute attribute-id="color">red</custom-attribute>
<custom-attribute attribute-id="refinementColor">red</custom-attribute>
<custom-attribute attribute-id="size">S</custom-attribute>
</custom-attributes>
<pinterest-enabled-flag>false</pinterest-enabled-flag>
<facebook-enabled-flag>false</facebook-enabled-flag>
<store-attributes>
<force-price-flag>false</force-price-flag>
<non-inventory-flag>false</non-inventory-flag>
<non-revenue-flag>false</non-revenue-flag>
<non-discountable-flag>false</non-discountable-flag>
</store-attributes>
</product>
<product product-id="blue-pants-2">
<ean/>
<upc/>
<unit/>
<min-order-quantity>1</min-order-quantity>
<step-quantity>1</step-quantity>
<display-name xml:lang="x-default">Blue Pants</display-name>
<long-description xml:lang="x-default">Specifically tailored to camouflage in a pool.</long-description>
<store-force-price-flag>false</store-force-price-flag>
<store-non-inventory-flag>false</store-non-inventory-flag>
<store-non-revenue-flag>false</store-non-revenue-flag>
<store-non-discountable-flag>false</store-non-discountable-flag>
<online-flag>true</online-flag>
<available-flag>false</available-flag>
<searchable-flag>true</searchable-flag>
<searchable-if-unavailable-flag>false</searchable-if-unavailable-flag>
<page-attributes/>
<custom-attributes>
<custom-attribute attribute-id="color">blue</custom-attribute>
<custom-attribute attribute-id="refinementColor">blue</custom-attribute>
<custom-attribute attribute-id="size">M</custom-attribute>
</custom-attributes>
<pinterest-enabled-flag>false</pinterest-enabled-flag>
<facebook-enabled-flag>false</facebook-enabled-flag>
<store-attributes>
<force-price-flag>false</force-price-flag>
<non-inventory-flag>false</non-inventory-flag>
<non-revenue-flag>false</non-revenue-flag>
<non-discountable-flag>false</non-discountable-flag>
</store-attributes>
</product>
<product product-id="white-pants-1">
<ean/>
<upc/>
<unit/>
<min-order-quantity>1</min-order-quantity>
<step-quantity>1</step-quantity>
<display-name xml:lang="x-default">White Pants</display-name>
<short-description xml:lang="x-default">The cleanest pants you have ever seen.</short-description>
<long-description xml:lang="x-default">Do not wear these pants while eating, walking or cleaning as they may get dirty.</long-description>
<store-force-price-flag>false</store-force-price-flag>
<store-non-inventory-flag>false</store-non-inventory-flag>
<store-non-revenue-flag>false</store-non-revenue-flag>
<store-non-discountable-flag>false</store-non-discountable-flag>
<online-flag>true</online-flag>
<available-flag>false</available-flag>
<searchable-flag>true</searchable-flag>
<searchable-if-unavailable-flag>false</searchable-if-unavailable-flag>
<page-attributes/>
<custom-attributes>
<custom-attribute attribute-id="color">white</custom-attribute>
<custom-attribute attribute-id="refinementColor">white</custom-attribute>
<custom-attribute attribute-id="size">S</custom-attribute>
</custom-attributes>
<pinterest-enabled-flag>false</pinterest-enabled-flag>
<facebook-enabled-flag>false</facebook-enabled-flag>
<store-attributes>
<force-price-flag>false</force-price-flag>
<non-inventory-flag>false</non-inventory-flag>
<non-revenue-flag>false</non-revenue-flag>
<non-discountable-flag>false</non-discountable-flag>
</store-attributes>
</product>
<product product-id="white-pants-2">
<ean/>
<upc/>
<unit/>
<min-order-quantity>1</min-order-quantity>
<step-quantity>1</step-quantity>
<display-name xml:lang="x-default">White Pants</display-name>
<short-description xml:lang="x-default">The sheen of the cosmos on your legs.</short-description>
<long-description xml:lang="x-default">A clean, blinding white. Color modeld after the sun. The very star that sustains this planet.</long-description>
<store-force-price-flag>false</store-force-price-flag>
<store-non-inventory-flag>false</store-non-inventory-flag>
<store-non-revenue-flag>false</store-non-revenue-flag>
<store-non-discountable-flag>false</store-non-discountable-flag>
<online-flag>true</online-flag>
<available-flag>false</available-flag>
<searchable-flag>true</searchable-flag>
<searchable-if-unavailable-flag>false</searchable-if-unavailable-flag>
<page-attributes/>
<custom-attributes>
<custom-attribute attribute-id="color">white</custom-attribute>
<custom-attribute attribute-id="refinementColor">white</custom-attribute>
<custom-attribute attribute-id="size">M</custom-attribute>
</custom-attributes>
<pinterest-enabled-flag>false</pinterest-enabled-flag>
<facebook-enabled-flag>false</facebook-enabled-flag>
<store-attributes>
<force-price-flag>false</force-price-flag>
<non-inventory-flag>false</non-inventory-flag>
<non-revenue-flag>false</non-revenue-flag>
<non-discountable-flag>false</non-discountable-flag>
</store-attributes>
</product>
<product product-id="red-pants-2">
<ean/>
<upc/>
<unit/>
<min-order-quantity>1</min-order-quantity>
<step-quantity>1</step-quantity>
<display-name xml:lang="x-default">Red Pants</display-name>
<short-description xml:lang="x-default">Christmas Red</short-description>
<long-description xml:lang="x-default">Wear these pants with a green shirt and everyone will think you are an elf. </long-description>
<store-force-price-flag>false</store-force-price-flag>
<store-non-inventory-flag>false</store-non-inventory-flag>
<store-non-revenue-flag>false</store-non-revenue-flag>
<store-non-discountable-flag>false</store-non-discountable-flag>
<online-flag>true</online-flag>
<available-flag>false</available-flag>
<searchable-flag>true</searchable-flag>
<searchable-if-unavailable-flag>false</searchable-if-unavailable-flag>
<page-attributes/>
<custom-attributes>
<custom-attribute attribute-id="color">red</custom-attribute>
<custom-attribute attribute-id="refinementColor">red</custom-attribute>
<custom-attribute attribute-id="size">M</custom-attribute>
</custom-attributes>
<pinterest-enabled-flag>false</pinterest-enabled-flag>
<facebook-enabled-flag>false</facebook-enabled-flag>
<store-attributes>
<force-price-flag>false</force-price-flag>
<non-inventory-flag>false</non-inventory-flag>
<non-revenue-flag>false</non-revenue-flag>
<non-discountable-flag>false</non-discountable-flag>
</store-attributes>
</product>
<product product-id="red-pants-3">
<ean/>
<upc/>
<unit/>
<min-order-quantity>1</min-order-quantity>
<step-quantity>1</step-quantity>
<display-name xml:lang="x-default">Red Pants</display-name>
<short-description xml:lang="x-default">The color of fire and rage.</short-description>
<long-description xml:lang="x-default">Red Rage Pants. Perfert for fits of rage.</long-description>
<store-force-price-flag>false</store-force-price-flag>
<store-non-inventory-flag>false</store-non-inventory-flag>
<store-non-revenue-flag>false</store-non-revenue-flag>
<store-non-discountable-flag>false</store-non-discountable-flag>
<online-flag>true</online-flag>
<available-flag>false</available-flag>
<searchable-flag>true</searchable-flag>
<searchable-if-unavailable-flag>false</searchable-if-unavailable-flag>
<page-attributes/>
<custom-attributes>
<custom-attribute attribute-id="color">red</custom-attribute>
<custom-attribute attribute-id="refinementColor">red</custom-attribute>
<custom-attribute attribute-id="size">L</custom-attribute>
</custom-attributes>
<pinterest-enabled-flag>false</pinterest-enabled-flag>
<facebook-enabled-flag>false</facebook-enabled-flag>
<store-attributes>
<force-price-flag>false</force-price-flag>
<non-inventory-flag>false</non-inventory-flag>
<non-revenue-flag>false</non-revenue-flag>
<non-discountable-flag>false</non-discountable-flag>
</store-attributes>
</product>
<product product-id="white-pants-3">
<ean/>
<upc/>
<unit/>
<min-order-quantity>1.0</min-order-quantity>
<step-quantity>1.0</step-quantity>
<display-name xml:lang="x-default">White Pants</display-name>
<short-description xml:lang="x-default">All the colors combined.</short-description>
<long-description xml:lang="x-default">Mix all the colors together and you get the color of these pants.</long-description>
<store-force-price-flag>false</store-force-price-flag>
<store-non-inventory-flag>false</store-non-inventory-flag>
<store-non-revenue-flag>false</store-non-revenue-flag>
<store-non-discountable-flag>false</store-non-discountable-flag>
<online-flag>true</online-flag>
<available-flag>false</available-flag>
<searchable-flag>true</searchable-flag>
<searchable-if-unavailable-flag>false</searchable-if-unavailable-flag>
<page-attributes/>
<custom-attributes>
<custom-attribute attribute-id="color">white</custom-attribute>
<custom-attribute attribute-id="refinementColor">white</custom-attribute>
<custom-attribute attribute-id="size">L</custom-attribute>
</custom-attributes>
<pinterest-enabled-flag>false</pinterest-enabled-flag>
<facebook-enabled-flag>false</facebook-enabled-flag>
<store-attributes>
<force-price-flag>false</force-price-flag>
<non-inventory-flag>false</non-inventory-flag>
<non-revenue-flag>false</non-revenue-flag>
<non-discountable-flag>false</non-discountable-flag>
</store-attributes>
</product>
<product product-id="blue-pants-3">
<ean/>
<upc/>
<unit/>
<min-order-quantity>1</min-order-quantity>
<step-quantity>1</step-quantity>
<display-name xml:lang="x-default">Blue Pants</display-name>
<long-description xml:lang="x-default">They look like whale skin. Don't worry. They are vegan.</long-description>
<store-force-price-flag>false</store-force-price-flag>
<store-non-inventory-flag>false</store-non-inventory-flag>
<store-non-revenue-flag>false</store-non-revenue-flag>
<store-non-discountable-flag>false</store-non-discountable-flag>
<online-flag>true</online-flag>
<available-flag>false</available-flag>
<searchable-flag>true</searchable-flag>
<searchable-if-unavailable-flag>false</searchable-if-unavailable-flag>
<page-attributes/>
<custom-attributes>
<custom-attribute attribute-id="color">blue</custom-attribute>
<custom-attribute attribute-id="refinementColor">blue</custom-attribute>
<custom-attribute attribute-id="size">L</custom-attribute>
</custom-attributes>
<pinterest-enabled-flag>false</pinterest-enabled-flag>
<facebook-enabled-flag>false</facebook-enabled-flag>
<store-attributes>
<force-price-flag>false</force-price-flag>
<non-inventory-flag>false</non-inventory-flag>
<non-revenue-flag>false</non-revenue-flag>
<non-discountable-flag>false</non-discountable-flag>
</store-attributes>
</product>
</catalog>