Sitecore / Sitecore.Demo.Retail

Sitecore Commerce Demo
12 stars 15 forks source link

Feature/engine.refactor #32

Closed kazimnami closed 7 years ago

kazimnami commented 7 years ago

This pull request contains: • Refactoring’s to the commerce engine. • Enhancements to the install process (found from working with a few partners) o Install windows identity foundation if doesn’t exist. o Enable Windows Authentication in IIS o Change sitecore website identity to HabitatRunTimeUser o Change sitecore website bindings (necessary for partners without our sim package). o Enables the commerceserver.core.config o Changed the name of the commerce engine databases to align with other database (so they don’t conflict for partners installing multiple sites)

NOTE: the install process in the wiki has already been updated to reflect the changes from this PR – you’ll see its quite simple now.

If you don’t want to go through the install process from scratch follow these steps:

  1. Change database name SitecoreCommerce_SharedEnvironments to demo.local_SitecoreCommerce.SharedEnvironments

  2. Change database name SitecoreCommerce_Global to demo.local_SitecoreCommerce.Global

  3. Execute: TRUNCATE TABLE [demo.local_SitecoreCommerce.Global].[dbo].[CommerceEntities] TRUNCATE TABLE [demo.local_SitecoreCommerce.Global].[dbo].[CommerceLists] TRUNCATE TABLE [demo.local_SitecoreCommerce.SharedEnvironments].[dbo].[CommerceEntities] TRUNCATE TABLE [demo.local_SitecoreCommerce.SharedEnvironments].[dbo].[CommerceLists]

  4. Delete all contents from C:\Websites\habitat.dev.local\CommerceEngine

  5. Run gulp task CE~Default

  6. Run gulp task Kill-w3wp-Tasks

  7. Execute: • http://habitat.commerceengine.dev.local:5000/commerceops/Bootstrap()
    http://habitat.commerceengine.dev.local:5000/commerceops/InitializeEnvironment(environment='HabitatShops') • http://habitat.commerceengine.dev.local:5000/commerceops/InitializeEnvironment(environment='HabitatAuthoring')

scottmulligan commented 7 years ago

Awesome work Kazim. The team on this side is testing right away and we'll get the changes merged in as soon as possible after some testing.

kazimnami commented 7 years ago

JF, I could not replicate your issue but while I was trying to investigate I cleaned up areas and merged from master. Can you please try again