Setting Up Development Environment
Development Environment Setup for the Alliance Business Suite
Version: 1.1
Date: 28/08/2023
Setting up your development environment is the first essential step for effective contribution to the Alliance Business Suite. This page aims to guide you through setting up your development environment via Remote Desktop into the Corporate Server.
Table of Contents
- Overview
- Pre-requisites
- Remote Desktop into Corporate Server
- Setting up SSH for Azure DevOps
- Cloning the Repository
- Installing VS Code
- Configuring posh-git and oh-my-posh
Overview
To develop for the Alliance Business Suite, a properly configured environment is essential. This guide will help you to set up your environment using the Corporate Server.
Pre-requisites
Before setting up your development environment, make sure you have:
- Network access to Alliance Business Suite resources
- Proper credentials (Check with your team lead if you don't have them)
- A computer that meets the system requirements
Remote Desktop into Corporate Server
Steps:
- Install RDP Client: Download and install the Remote Desktop Client for your OS.
- Request Credentials: Contact your team lead to obtain your credentials for Remote Desktop access.
- Configure RDP Client:
- Open RDP and click on
Add->PCs. - Use
fenixalliance.com.cofor the PC Name, assign it a display name, and fill in your provided credentials.
- Open RDP and click on
- Connect and Validate:
- Double-click on the newly created connection in RDP.
- Confirm that you can successfully log in.
Setting up SSH for Azure DevOps
- Generate SSH Key: Open a terminal and run
ssh-keygen -t rsa -b 4096. Follow the prompts to save the key. - Add SSH Key to Azure DevOps:
- Log into Azure DevOps
- Navigate to your profile settings -> SSH Public Keys.
- Click
Add, give your key a name, and paste the contents of your SSH public key.
- Test SSH Connection: Run
ssh -T git@ssh.dev.azure.comto confirm that SSH is set up correctly.
Cloning the Repository
- Open a Terminal: You can do this within your RDP session.
- Clone the Repository: Run
git clone git@ssh.dev.azure.com:v3/fenixalliance/ABS/ABS.
Installing VS Code
- Download: Visit the VS Code website and download the installer for your OS.
- Install: Follow the installation instructions.
- Launch: Open VS Code to confirm that it is installed correctly.
Configuring posh-git and oh-my-posh
- Install posh-git: Run
Install-Module posh-git -Scope CurrentUserin PowerShell. - Install oh-my-posh: Run
Install-Module oh-my-posh -Scope CurrentUserin PowerShell. - Configure your PowerShell profile: Run
notepad $PROFILEand add the following lines:Import-Module posh-git Import-Module oh-my-posh Set-Theme Paradox