Tested on Windows 8.1, Windows Server 2019, Windows 10, Windows 11.

Step 1 – Install Prerequisites

  1. Prerequisite Files

Users must download and install the following prerequisites:

  • DBPSetupDev.exe *
  • Features.datx *

* To access the latest setup files, navigate to Research & Development – DBP – Platform – Setup Install – All Documents.

  • AdminApp.rba **

** To access the latest setup files, navigate to Research & Development – DBP – Platform – RBA Storage – Common Apps to Install on All Servers.

  1. Optional Tools

Users have the option of downloading and installing the following tools:

  • PowerShell (Latest Release – 7.3)
    • In the PowerShell Console, run: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Step 2 – Install BPMS Platform

  1. Install Local SQL Server

Users must install and set up a local SQL Server.

  • SQL Server Installation
    • During the installation process, select:

      Installation Type = Custom
      Installation \ New SQL Server Stand-Alone \ Edition = Developer
      Instance Features = Database Engine Services, Client Tools Connectivity, Client Tools SDK
      Authentication Mode = Mixed, Set sa-password, Add current user as admin
  1. Install SQL Server Management Studio (SSMS)

Users must install the latest release (19.0.2) of the SQL Server Management Studio (SSMS).

CHECKPOINT:

Run SSMS and connect to local SQL Server as SA user (server=.)

  1. Install Internet Information Services (IIS)

Users must install Internet Information Services (IIS).

  • To install IIS, follow these steps:
    1. Open the Windows Start menu and search for “Turn Windows features on or off”. Click on the corresponding option to open the Windows Features window.
    2. In the Internet Information Services (IIS) branch, select the following options:

      Web Management Tools \ (select all except Management Service)
      World Wide Web Services \ Application Development Features = .NET Extensibility 4.7 (4.8), ASP.NET 4.7, ISAPI Extensions, ISAPI Filters
      World Wide Web Services \ Common HTTP features \ (select all)

CHECKPOINT:

After the installation is complete, open a browser and navigate to http://localhost/. If the installation was successful, you should see the IIS welcome page.

  1. Add SSL

Users must add a Secure Sockets Layer (SSL) to their IIS setup.

  • Run IIS Manager:

    Default Web Site \ context menu \ Edit Bindings \ Add \ Type = https, SSL certificate = IIS Express Development Certificate
    Default Web Site \ context menu \ Manage Website \ Restart

CHECKPOINT:

Open a browser and navigate to https://localhost/. If the installation was successful, you should see the IIS welcome page. Note that the site certificate will initially be invalid. To fix this, import the certificate to the “Trusted root certification authorities” store and then restart the browser. Once you have done this, the certificate will become valid.

  1. Install Latest BPMS Platform

Users must install the latest release of the BPMS platform.

  • Install all modules (select all options in Features installer).
    • For the Database module: create a new database, server = localhost, DB username = ray, DB password = 12345, admin user = sa, admin password =
    • For the Admin Console (Designer) module: if possible, install into the Program Files folder.
    • For the Web Application module: create a new web application, local website = default web site, enable SSL, do not enable SSO (Single Sign-On).
    • For the Tools module: select all options

CHECKPOINT:


  1. Configure BPMS Designer

Users must configure the BPMS Designer.

  • Run BPMS Designer:

    Username = admin, Password = admin
    Invalid Web Address = Ok
    Settings \ General \ Web Directory = https://localhost/dbp
  1. Install AdminApp.rba

Users must install the latest release of the Admin application.

  • In BPMS Designer:

    Import AdminApp.rba
    Application Tree \ Admin Application \ Forms \ Form Behavior \ select all \ context menu \ Show in Web for All Users
    Deploy
  • Open a browser and navigate to https://localhost/dbp.

    Sign-in \ Username = admin, Password = admin
    Organization Management (Admin) \ Users \ double-click on admin user \ Select All Permissions, Save

Step 3 – Building BPMS from Sources

  1. Install Visual Studio (VS) 2022 Preview Enterprise Edition

Users must install the 2022 Preview Enterprise edition of Visual Studio (VS).

  1. Install DevExpress Components

Users must install the required DevExpress components.

  • DevExpress Installation

    Sign-in \ Email = John.Doe@thecompany.com, Password = DBXPFORE
    My Downloads \ DXperience Subscription \ select version needed to build BPMS \ Unified Component Installer (.exe)
    • Download and run the program (DevExpressComponentsBundleSetup-21.2.8.exe):

      Registered install \ Email=John.Doe@thecompany.com, Password = DBXPFORE
  1. Checkout Sources from GitHub

Users can checkout sources from GitHub.

  • Run VS:

    Clone a repository \ GitHub \ https://github.com/the company/BPMS
  1. Switch Branch to the companyDev

Users must switch their branch in VS to the companyDev.

  • In VS:

    View \ Git Changes \ Branch \ Remotes \ the companyDev
  1. Install NodeJS LTS 16 and Latest Yarn

Users must install NodeJS LTS 16 and the latest release of Yarn.

  • NodeJS Installation
    • During the installation process, select:

      Automatically Install Tools (C++, Python, VS Build Tools, Chocolatey) = Off
  • Run CMD (Command Prompt or PowerShell):

    npm install -global npm
    npm install -global node
    npm install -global yarn
  1. Install Dependencies

Users must install the required dependencies.

  • In CMD:

    cd /d %USERPROFILE% \ source \ repos \ the company \ BPMS \ Source \ Rayvarz.Bpms.Web.App
    yarn install
  1. Build JS and CSS bundles

Users must build the JS and CSS bundles.

  • In CMD:

    cd /d %USERPROFILE% \ source \ repos \ the company \ BPMS \ Source \ Rayvarz.Bpms.Web.App
    yarn run webpack-dev
  1. Open Source Folder as a VS Solution

Users must open the source folder as a VS solution.

  • In VS:

    View \ Solution Explorer \ Source \ double-click at Ray.BPMS.sln
  1. Build WebApp

Users must build the web application.

  • In VS:

    View \ Solution Explorer \ Solution Ray.BPMS\ context menu\ Restore NuGet Packages
    Build\ Clean Solution
    Build\ Rebuild Solution
  1. Add WebApp to IIS

Users must add the web application to IIS.

  • In IIS Manager:

    Default Web Site \ context menu \ Add Application \ Alias = dbp-dev, AppPool = BPMS, Path = %USERPROFILE% \ source \ repos \ the company \ BPMS \ Source \ Rayvarz.Bpms.Web.App \
    Default Web Site \ Folder "dbp-dev\DeployWebService" \ context menu \ Convert to Application
  • In Windows File Explorer:

    %USERPROFILE% \ source \ repos \ the company \ BPMS \ Source \ Rayvarz.Bpms.Web.App \ context menu \ Properties \ Security \ Grant Modify permissions to user NetworkService
  • Copy:

    • "C:\inetpub\wwwroot\dbp\Connection\Connections.xml" to "%USERPROFILE%\source\repos\the company\BPMS\Source\Rayvarz.Bpms.Web.App\Connection\"

    • "C:\inetpub\wwwroot\dbp\Bin\Features.datx" to "%USERPROFILE%\source\repos\the company\BPMS\Source\Rayvarz.Bpms.Web.App\bin\"

    • "C:\inetpub\wwwroot\dbp\Bin\Features.datx" to "%USERPROFILE%\source\repos\the company\BPMS\Bin\"

    • "%USERPROFILE%\source\repos\the company\BPMS\Source\Rayvarz.Bpms.Web.App\bin\Roslyn" to "%USERPROFILE%\source\repos\the company\BPMS\Source\Rayvarz.Bpms.Web.App\DeployWebService\bin\"

CHECKPOINT:


  1. Build Designer

Users must build the Designer.

  • In VS:

    View \ Solution Explorer \ Designer \ BPMS.Designer \ context menu \ Set as Startup Project
    Debug \ Run Without Debugging
  • If the versions of the Designer and the database do not match, you will need to manually apply migration scripts:
    • Connect SSMS to DBP database
    • Choose appropriate scripts from %USERPROFILE%\source\repos\the company\BPMS\Source\Rayvarz.BPMS.Setup\Source\Scripts\ and run it as queries in ascending version order.
    • Reopen Designer
  1. Configure Designer

Users must configure the Designer.

  • In BPMS Designer:

    Settings \ General \ Web Directory = https://localhost/dbp-dev
    Application Tree \ OrgManagement
    Deploy 
  • Open a browser and navigate to https://localhost/dbp.

    Sign-in \ Username = admin, Password = admin
    Organization Management (Admin) \ Users \ double-click on admin user \ Select All Permissions, Save
  1. Troubleshooting

To effectively troubleshoot issues, various troubleshooting steps can be taken in different components of the development environment

  • In VS:

    Close and reopen VS, Clean Solution, Rebuild Solution
  • In IIS Manager:

    Default Web Site \ context menu \ Manage Website \ Restart
  • In BPMS Designer:

    Settings \ System \ Debug Mode = On