Skip to content

Tutorial 12

PhuocLe edited this page Mar 9, 2018 · 9 revisions

Task

  • DevOps

Coding

  1. Open Wooow.Kool root folder by Window Explorer. Then create a DevOps.bat here
@echo off
for /f "delims=" %%d in ('dir /a:d /o:-n /s packages\PL.DynamicsCrm.DevKit.Cli.* /b') do (
    set PLDynamicsCrmDevKitCli=%%d
    goto break
)
:break
set CrmConnection="AuthType=Office365;Url=https://phuoc2018mar06.crm.dynamics.com;[email protected];Password=Phuoc2018Mar06;"
"%PLDynamicsCrmDevKitCli%\tools\PL.DynamicsCrm.DevKit.Cli.exe" /conn:%CrmConnection% /json:"PL.DynamicsCrm.DevKit.Cli.json" /type:"" /profile:"RELEASE" /version:"1.0.0.0"
exit
  1. Open file PL.DynamicsCrm.DevKit.Cli.json by Notepad and edit these information in section: RELEASE
    • plugins
      • plugins.solution: "Kool",
      • plugins.includefiles: [ "Wooow.*.dll" ],
    • workflows
      • workflows.solution: "Kool",
      • workflows.includefiles: [ "Wooow.*.dll" ],
    • webresources
      • webresources.solution: "Kool",
      • webresources.prefix: "wo_",
      • webresources.rootfolder: "Wooow.Kool.WebResource",
      • webresources.dependencies.dependencies: [ "wo_/lib/require.js" ],
  2. Rebuild solution to Release mode.
  3. Run DevOps.bat to deploy Dynamics Crm
  4. Check-in all files to your source control.
  5. You finished this tutorial.
Clone this wiki locally