Development Topics

From KeystoneIntranet
Revision as of 21:37, 25 February 2021 by Pmorey (talk | contribs) (→‎Embarcadero InterBase)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Keystone Development Environment

Software Components

IDE

  • Embarcadero Delphi Rio 10.3.1

Database

  • Embarcadero InterBase XE Update 5 (10.0.5.595)

Source Version Control

  • Borland StarTeam 6.0

Third-party components

  • DevExpress VCL Components 18.2.4
  • Turbopower OnGuard 1.13
  • Synopse mORMot (latest) download

Tools

  • InnoSetup 5.6.1 Unicode download
  • InterBase PLANalyzer 1.2.1 download
  • Clever Components Database Comparer 6.4.0.1663
  • Replace Text
  • XN Resource Editor 3.0.0.1 download

Setup

Virtual Machine

  • 4GB RAM minimum
  • 2 CPU cores minimum
  • 128GB Drive C:
  • 128GB Drive D:
  • 128GB Drive T:

Operating System

  1. Install Windows 10 Professional 64-bit (latest)
  2. Install all Windows updates
  3. Install virtual machine additions if required

Embarcadero Delphi

  1. Install Delphi
    • Choose all defaults EXCEPT uncheck InterBase Development Version
  2. Start Delphi
    • Select the desired visual theme
    • Choose all defaults
    • Close Delphi
    • If you receive a Windows Security Alert, click Allow Access

DevExpress VCL Controls

  1. Install DevExpress VCL Controls
    • Choose all defaults BUT on the VCL x.x.x Setup screen, check the RAD Studio 10.3 Rio box, then check the Source Path and Debug Info boxes
  2. Start Delphi
    • Select File->New->Windows VCL Application
    • Select Project->Modify Skin Options
    • Click "Select None"
    • Uncheck Notify about new skins
    • Uncheck Enable skin support
    • Check Default
    • Click OK
    • Close Delphi
  3. Reboot

Embarcadero InterBase

  1. Install Embarcadero InterBase XE
    • You must install the 32-bit version for Windows 10 (you need to open an elevated Command Prompt and run the IB installer from there)
    • Be sure to install the latest update (currently Update 5 10.0.5.595)
    • Use the 10-user VAR license
    • Use the InterBase Server Manager to start InterBase XE (check the "Run the InterBase server as a Windows service" box)

Borland StarTeam

  1. Install Borland StarTeam 6.0
    • Select Borland StarTeam Client
    • Choose all defaults
  2. Create StarTeam Client shortcut on desktop
    • Use File Explorer to browse to C:\Program Files (x86)\Borland\StarTeam 6.0 folder
    • Right-click on StarTeam application and choose "Send To->Desktop (create shortcut)"
    • Right-click on desktop shortcut, go to Properties, select "Compatibility" tab, check "Run this program in compatibility mode for" and make sure "Windows XP (Service Pack 2)" is selected in the drop-down list
  3. Start the StarTeam Client
    • Delete existing temporary "Enterprise Advantage" license
    • Click Register to add named client license
    • Open project
    • Click Add Server and enter the following:
      • Server description: GH Virtual StarTeam Server
      • Server address: oh.compucrete.com
      • Protocol: TCP/IP (Sockets)
      • Endpoint: 49201
    • Close the StarTeam Client

Synopse mORMot

  1. Install the Synopse mORMot nightly build
    • Download here
    • Create folder: C:\Components\Synopse
    • Extract all files into C:\Components\Synopse
    • Verify that Delphi is CLOSED, then run: C:\Windows\SysWow64\regedit.exe
    • Browse to this registry key: HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0\Library\Win32
    • Right-click on "Browsing Path", then click Modify
    • Add the following to the end of the existing Value data: ;C:\Components\Synopse
    • Click OK
    • Right-click on "Search Path", then click Modify
    • Add the following to the end of the existing Value data: ;C:\Components\Synopse
    • Click OK
    • Close the Registry Editor

Delphi JOSE JWT

  1. Install the latest Delphi-JOSE-JWT build
    • Download here
    • Extract all files into C:\Components
  2. Compile the Delphi-JOSE-JWT package
    • Start Delphi
    • Open the package: C:\Components\delphi-jose-jwt-master\Packages\10.3Rio\JOSE.dpk
    • Build the package
    • Close Delphi
  3. Add Delphi-JOSE-JWT to the Delphi library paths
    • Verify that Delphi is CLOSED, then run: C:\Windows\SysWow64\regedit.exe
    • Browse to this registry key: HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0\Library\Win32
    • Right-click on "Browsing Path", then click Modify
    • Add the following to the end of the existing Value data: ;C:\Components\delphi-jose-jwt-master\Lib\260\Win32\Debug
    • Click OK
    • Right-click on "Search Path", then click Modify
    • Add the following to the end of the existing Value data: ;C:\Components\delphi-jose-jwt-master\Lib\260\Win32\Debug
    • Click OK
    • Close the Registry Editor

Inno Setup

  1. Install Inno Setup
    • Download the latest stable Unicode version here
    • Double-click the EXE file just downloaded to install
    • Accept all defaults

KServer

Caching

HTTP ETag and If-None-Match

HTTP 1.1 Caching RFC 7234