Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Build:
- (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)
- prod move to src\Production
- te move to src\Production\Web.TPEngine\Test
- v run visual sudio with msbuild.
- bcnd build (src\Production) source.
- bcrnd build retail drop folder for src\Production
- devsetup set up your local policies.
- bad build source and dev setup.
- ===========================================================================
- Dev Setup:
- 1. Azure Storage Emulator
- https://docs.microsoft.com/en-us/azure/storage/common/storage-use-emulator
- 2. Azure Cosmos DB Emulator
- https://docs.microsoft.com/en-us/azure/cosmos-db/local-emulator?tabs=ssl-netstd21
- ===========================================================================
- Initialize the repo:
- iisreset
- clean
- cd out
- clean
- root
- init no_cache
- bcc
- devsetup
- ===========================================================================
- CPIM Admin debugging and development:
- https://msit.microsoftstream.com/video/171aa92f-8020-4cdc-b2ad-48e11415b470
- https://msit.microsoftstream.com/video/bca820f6-f28d-4779-9add-b8757debfa0f
- aka.ms/deps
- B2C Live Service site.
- Setup for testing:
- 1. open the Visual Studio on test folder.
- 2. Runs "iissetup" on folder where the Visual Studio opened.
- Run testing:
- ut {test} -> run all matching tests.
- dut {test} -> debug all matching tests.
- dul {test} -> list all matching tests.
- ===========================================================================
- Run Testing before making a PR:
- 1. build with bcnd
- 2. run devsetup
- 3. run portalut (font-end unit testing)
- ===========================================================================
- 1. Use prod Frontend and local backend
- goto src\Production\Web.Admin
- bcnd
- iissetup -admin ==> Deploy Web.Admin locally
- 2. Use local frontend with PROD backend
- launchadmin ==> This builds Web.AdminClient and launches the local development server
- 3. Use local frontend and local backend
- goto "src\Production\Web.Admin'
- bcnd
- launchadmin ==> This builds Web.AdminClient and launches the local development server.
Advertisement
RAW Paste Data
Copied
Advertisement