Dev environment setup
Install visual studio 2019 community edition
Install .net 5 SDK
Install visual studio code
Install visual studio addons
o https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects
o https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftAnalysisServicesModelingProjects
o https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftReportProjectsforVisualStudio
o https://www.oracle.com/database/technologies/developer-tools/visual-studio/
o https://www.microsoft.com/en-us/download/details.aspx?id=55179
Enable Developer Options, allow PowerShell to execute scripts
Go to Windows Settings → For Developers
o Enable Developer Mode
o Change execution policy to allow local PowerShell scripts to run without signing
Open Microsoft Management Console (type mmc in command line)
o File → Add/Remove snapshot
o Select Group policy object and then Add and then press Ok
o On the left side expand
Local Computer Policy →
Computer Configuration →
o Administrative templates →
Windows Power Shell →
Turn on script execution for all scripts
Clone bitbucket repositories for backend and frontend
o https://ctasdevsc.pajak.go.id/projects/ETI
o Generate token and use it as password as described here
Create a Bitbucket Access Token in Wiki
o Switch to branch release/vanilla on both frontend and backend
Install certificate
o Navigate to backend\certs folder
o Install aspnetapp-root-cert.cer certificate for Local Machine, click next and Place in
Trusted Root Certificates Authorities
Execute certs.ps1
o Execute the script certs.ps1 (located in backend) using PowerShell
Install Docker
o Docker Desktop for Mac and Windows | Docker
o Open PowerShell as admin and run the following commands
o dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
o dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
o Download and install wsl update
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
o Run command from PowerShell wsl --set-default-version 2
There are multiple options on using Tibero
o A) Install Tibero database locally
Install java runtime jre-8u301-windows-x64
Install Tibero_6_FS07_win_64_20180803 available in Teams share
https://teams.microsoft.com/_#/files/General?
threadId=19%3Afde4a0d459584000b403615c38cdd03e
%40thread.tacv2&ctx=channel&context=Tibero%2520DBMS&rootfolder=
%252Fsites%252FQualysoft%252FShared%2520Documents%252FGeneral
%252F200%2520Development%2520Machine%2520Setup%252FTibero
%252FTibero%2520DBMS
Use license file received by email
Go with the default options all the way
Choose start wizard typical at the end of the installation process
For database configuration use credentials
Username/user: sys
Password: sys
Install database engine for OLDB and 64bit version
Open Services and look for Tibero_tibero service and make sure it’s started
If not started – start manually
If failing while starting manually run from cmd tbdown clean
If not displayed – after refresh – installation failed and retry ☹
Open file C:\TmaxData\tibero6\tibero.conf and change the
MAX_SESSION_COUNT to 100 e.g. MAX_SESSION_COUNT=100
o B) Install Tibero database in docker
Browse to the CICD Repo in bitbucket
https://ctasdevsc.pajak.go.id/projects/ETI/repos/cicd/browse
Sync to it
Execute run.bat, located in /cicd/containers/tibero-docker
This will build the tibero docker container and start it
o Download Tibero Studio https://qualysoftcoe.sharepoint.com/sites/Qualysoft/Shared
%20Documents/General/200%20Development%20Machine%20Setup/Tibero/Tibero%20Studio/
TiberoStudio2-20210226-win32.win32.x86_64.zip
Add new connection (password sys)
o
o
o Open visual studio and set Tools/Migrations project as default (general migrations)
Clean and rebuild
Run
You might see some errors but most of the scripts should appear as running
correctly
o Open Tibero studio, refresh and observe the left side – the databases should be there
o Run the following commands in PowerShell
docker run -d -p 5672:5672 -p 15672:15672 --restart unless-stopped rabbitmq:management
docker run -d -p 8500:8500 --restart unless-stopped consul
docker run -d --name redis -e REDIS_PASSWORD=9gT?!dvXq53JekhWDk!LwwDWsXv5ClPD -p
6379:6379 bitnami/redis:latest
o Open Visual Studio
Set multiple startup projects
wedoIT.Gateway.WebApi
wedoIT.IdentityProvider
wedoIT.ReferenceData.WebApi
wedoIT.UserManagement.WebApi
Start debugging
o Open frontend folder in Visual studio code
Run npm install on frontend
Install extensions on visual studio code
Nx Console
Angular Language Service
TSLint
Prettier
Jest Runner
vscode-icons
Open angular.json file
Ctrl + click on script
Navigate to localhost:4300
Use credentials
o Username: admin
o Password: 1q2w3e4r5t
Finishing touches and running docker
Now we can launch backend as whole, if you configured everything correctly, and have basic knowledge
of GIT, you can start working. In root folder as normal user under PowerShell or Terminal, run docker-
compose up -d --build Congratulations, containers should be now up and running. It can take some time,
please be patient. You can check status in Docker Application: