Advertisement
ymoon1972

CPIM-build-commands

Dec 2nd, 2021 (edited)
211
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Build:
  2. (https://microsoft.sharepoint.com/teams/aad/CPIM/_layouts/15/Doc.aspx?sourcedoc=%7Bb2ca57d5-6d3b-4abc-b4e2-0b691fd99081%7D&action=edit&wd=target(Fundamentals.one%7C7cd78992-9a7d-4922-92df-9bd2f0a00fba%2FBuilding%7C4cec7e2d-f76e-4243-9cdb-dc644b8bf40a%2F)&share=IgHVV8qyO228SrTiC2kf2ZCBASigosRUSks-L4LI48a2jvA)
  3. prod move to src\Production
  4. te move to src\Production\Web.TPEngine\Test
  5. v run visual sudio with msbuild.
  6.  
  7. bcnd build (src\Production) source.
  8. bcrnd build retail drop folder for src\Production
  9. devsetup set up your local policies.
  10. bad build source and dev setup.
  11. ===========================================================================
  12. Dev Setup:
  13. 1. Azure Storage Emulator
  14. https://docs.microsoft.com/en-us/azure/storage/common/storage-use-emulator
  15. 2. Azure Cosmos DB Emulator
  16. https://docs.microsoft.com/en-us/azure/cosmos-db/local-emulator?tabs=ssl-netstd21
  17. ===========================================================================
  18. Initialize the repo:
  19. iisreset
  20. clean
  21. cd out
  22. clean
  23. root
  24. init no_cache
  25. bcc
  26. devsetup
  27.  
  28. ===========================================================================
  29. CPIM Admin debugging and development:
  30. https://msit.microsoftstream.com/video/171aa92f-8020-4cdc-b2ad-48e11415b470
  31. https://msit.microsoftstream.com/video/bca820f6-f28d-4779-9add-b8757debfa0f
  32. aka.ms/deps
  33. B2C Live Service site.
  34. Setup for testing:
  35. 1. open the Visual Studio on test folder.
  36. 2. Runs "iissetup" on folder where the Visual Studio opened.
  37. Run testing:
  38. ut {test} -> run all matching tests.
  39. dut {test} -> debug all matching tests.
  40. dul {test} -> list all matching tests.
  41.  
  42. ===========================================================================
  43. Run Testing before making a PR:
  44. 1. build with bcnd
  45. 2. run devsetup
  46. 3. run portalut (font-end unit testing)
  47. ===========================================================================
  48. 1. Use prod Frontend and local backend
  49. goto src\Production\Web.Admin
  50. bcnd
  51. iissetup -admin ==> Deploy Web.Admin locally
  52. 2. Use local frontend with PROD backend
  53. launchadmin ==> This builds Web.AdminClient and launches the local development server
  54. 3. Use local frontend and local backend
  55. goto "src\Production\Web.Admin'
  56. bcnd
  57. launchadmin ==> This builds Web.AdminClient and launches the local development server.
Advertisement
RAW Paste Data Copied
Advertisement