Skip to content

Commit

Permalink
Upgrade to XC 9.3.0 (#28)
Browse files Browse the repository at this point in the history
* Upgrade Docker setup to XC 9.3.0

* Upgrade VS projects to XC 9.3.0

* Refer to 9.3.0 Docker setup instructions
  • Loading branch information
joostmeijles committed Mar 24, 2020
1 parent d9d1886 commit 67984e9
Show file tree
Hide file tree
Showing 24 changed files with 405 additions and 310 deletions.
8 changes: 6 additions & 2 deletions .env
@@ -1,5 +1,9 @@
REGISTRY=
WINDOWSSERVERCORE_VERSION=ltsc2019
NANOSERVER_VERSION=1809
SITECORE_VERSION=9.2.0
LICENSE_PATH=c:\license
SITECORE_VERSION=9.3.0
SITECORE_LICENSE=
SQL_SA_PASSWORD=8Tombs-Given-Clock#-arming-Alva-debut-Spine-monica-Normal-Ted-About1-chard-Easily-granddad-5Context!
TELERIK_ENCRYPTION_KEY=qspJhcSmT5VQSfbZadFfzhCK6Ud7uRoS42Qcm8UofvVLiXciUBcUeZELsTo8KD9o6KderQr9Z8uZ9CHisFJNRz46WTZ5qCRufRFt
LICENSE_PATH=C:\license
ISOLATION=process
26 changes: 12 additions & 14 deletions README.md
Expand Up @@ -9,15 +9,15 @@ Nyxie is a plugin for Sitecore Commerce that extends the Promotion Engine with a
It introduces 8 new qualifications and 6 new benefits. In addition these qualifications and benefits are displayed in the business tools in an easy to read way.

## Getting started
1. Download the Sitecore .update package and the .nuget package from the GitHub releases page.
2. Install the .nuget package in a local nuget registry or folder and add it to the Sitecore Commerce Engine project.
1. Download the Sitecore .update package and the .nuget package from the GitHub releases page.
2. Install the .nuget package in a local nuget registry or folder and add it to the Sitecore Commerce Engine project.
3. Install the Sitecore .update package using the Sitecore Control Panel.
4. Synchronze the Commerce Control Panel using the Sitecore Commerce Postman scripts: ContentAPISamples -> DoActions -> Sync content item.
5. The new qualifications and benefits are now available in the business tools.

## How to use

### Qualifications
### Qualifications

The following qualifications are part of Nyxie and can be selected in the business tools.

Expand Down Expand Up @@ -159,7 +159,7 @@ The action will do the following:

1. Select the eligable items
2. Sort the items by most/least expensive
3. Calculate the number of times the discount should be applied
3. Calculate the number of times the discount should be applied
4. Apply the discount to the most/least expensive items

> Cart line quantity is taken into account, meaning that a cart line with a quantity of 10 could have the discount applied twice, resulting in 2 discounted products and 8 at full price.
Expand Down Expand Up @@ -190,7 +190,7 @@ The action will do the following:

1. Select the eligable items
2. Sort the items by most/least expensive
3. Calculate the number of times the discount should be applied
3. Calculate the number of times the discount should be applied
4. Apply the discount to the most/least expensive items

> Cart line quantity is taken into account, meaning that a cart line with a quantity of 10 could have the discount applied twice, resulting in 2 discounted products and 8 at full price.
Expand Down Expand Up @@ -231,7 +231,7 @@ The action will do the following:

1. Select the eligable items
2. Sort the items by most/least expensive
3. Calculate the number of times the discount should be applied
3. Calculate the number of times the discount should be applied
4. Apply the discount to the most/least expensive items

> Cart line quantity is taken into account, meaning that a cart line with a quantity of 10 could have the discount applied twice, resulting in 2 discounted products and 8 at full price.
Expand Down Expand Up @@ -259,7 +259,7 @@ The action will do the following:

1. Select the eligable items
2. Sort the items by most/least expensive
3. Calculate the number of times the discount should be applied
3. Calculate the number of times the discount should be applied
4. Apply the discount to the most/least expensive items

> Cart line quantity is taken into account, meaning that a cart line with a quantity of 10 could have the discount applied twice, resulting in 2 discounted products and 8 at full price.
Expand All @@ -286,27 +286,25 @@ Nyxie.Serialization --> \build\website
Sitecore.Commerce.Engine --> \build\commerce

- Build Sitecore XC Docker images according to the instructions found here: https://github.com/Sitecore/docker-images
- Or if you have pre-built Docker images available in a registry, set the `REGISTRY` in (./env)
- Or if you have pre-built Docker images available in a registry, set the `REGISTRY` in [](./env)

- Copy your Sitecore license file (license.xml) to the [](./license) folder

- Spin up the environment (make sure you are using Windows and not Linux containers):
- Spin up the environment, see [here](https://github.com/Sitecore/docker-images/tree/master/windows/tests/9.3.x#prerequisites-and-considerations) for prerequisites e.g. wrt. use of Sitecore license (make sure you are using Windows and not Linux containers):
```
PS> docker-compose up
```

To set the Docker container service names as DNS names on your host edit your `hosts` file.
To set the Docker container service names as DNS names on your host edit your `hosts` file.
A convenient tool to automatically do this is [whales-names](https://github.com/gregolsky/whales-names).

Synchronize the development content by running Unicorn: [http://cm/unicorn.aspx?verb=sync](http://cm/unicorn.aspx?verb=sync).

Initialize your Commerce Engine and setup a Storefront according to the instructions [here](https://github.com/Sitecore/docker-images/tree/master/windows/tests/9.2.x).
Initialize your Commerce Engine and setup a Storefront according to the instructions [here](https://github.com/Sitecore/docker-images/tree/master/windows/tests/9.3.x).
> Unselect the Habitat catalog in `Commerce > Catalog Management > Catalogs` before adding a Storefront site
Fix indexes by:

- Opening the content editor
- Make sure the Habitat catalog is selected in the Commerce Control panel
- Make sure the Habitat catalog is selected in the Commerce Control panel
- Goto the commerce tab
- Delete Data Templates
- Update Data Templates
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 67984e9

Please sign in to comment.