0 ratings 0% found this document useful (0 votes) 31 views 3 pages Developer Tools
The document provides a comprehensive guide for developers to set up their development environment for Health platforms, including prerequisites like access to health email and Azure repositories. It details the installation of necessary tools such as Git, Salesforce SFDX CLI, Visual Studio Code, Node.js, and Vlocity Build Tool CLI, along with steps to configure Git credentials and authenticate with a Salesforce sandbox. Additionally, it offers optional guidance for using GitHub Desktop to manage Git operations more easily.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here .
Available Formats
Download as PDF or read online on Scribd
Go to previous items Go to next items
Save Developer Tools For Later 2rrii2023, 12:22 Developer Tools - Overview
Developer Tools
Last updated by | Ethan Sargent | 24 Oct 2023 at 15:33 GMT+11
Prerequisites
1. Access to Health platforms
2. Setup Development environment
1. Access to Health platforms
You must have access to the following:
+ Health emai
+ Azure Repositories: salesforce-foundation
# Remote access to Azure from non-health laptop: Enroll in the Intelligent Hub app to get MFA. Follow
the instructions in the Mobile access section here
https://www1_health.gov.au/internet/main/publishing.nsf/Content/remote-desktop-help_
& Pro-tip! When enrolling in the Intelligent Hub app ensure that your phone is on a different network to
your browser!
2. Setup Development environment
Setup your development environment on your non-health laptop (Health laptop does not have admin
permissions).
€ Leave all defaults as is.
Git
* For windows, install Git for Windows: https:/itforwindows.ora/_
Mac has git installed already - you can skip this step.
Salesforce SFDX CLI
© Install Salesforce SFDX CLI https://developer.salesforce.com/tools/sfdxcli
Visual Studio Code
® Install Visual Studio Code (latest) https://code.visualstudio.com/
* Visual Studio Code Extensions
-- Salesforce Extensions for Visual Studio Code https://developer.salesforce.com/tools/vscode_
Nodejs
1. Check if Nodejs is installed. Open a command prompt and type... node -v - iftis already installed the
response will contain the Node version number. Or else continue to step 2.
Intpsuitgaauvisualstudlo.com/Aged Care Projects!_wikiwhis/Aged-Care-Projects wik!984/Developer-Tools 182rrii2023, 12:22 Developer Tools - Overview
2. Install Node https://nodejs.org/en/_- install the LTS version (as of 2023, nodejs 18) and leave all options
as default.
Puppeteer (used by viocity build tool)
‘pm install --global puppeteer
Vlocity Build Too! CLI
1. Check if Vlocity CLI is installed. Open a command prompt and type... vlocity -v - if itis already installed
the response will contain the Vlocity CLI version number. Or else continue to step 2.
2. install Viocity Build Tool CLI. Open a command prompt and type... npn install --global viocity
Create a Dev directory on the machine
& Itis necessary to avoid placing Salesforce projects in directories tracked by OneDrive.
Create a dev directory at c:\dev
Generate Git credentials
1.Go to the salesforce-foundation project repository https://tgaau visualstudio.com/Aged Care
Projects/_git/salesforce-foundation
2. Click the Clone button.
3. Copy the clone url.
4, Click the Generate Git Credentials button.
5. Copy the generated username and password, You will use these in the next step.
Add generated Git credentials to Windows Credential Manager
«Open Windows Credential Manager.
«Select Windows credentials.
«From the Genetic Credentials section, click Add generic credential.
Enter the URL githttps//tgaauvisualstudio.com
«Enter your generated Git credentials
* Click OK.
Initialise the local project/gpms branch of the repository
! Do not work on this branch! !
1, Open a terminal.
2. Change to the dev directory... cd C:\dev
3. Run the following configuration command:
git config --global core.longpaths true
'f on Windows, also run the following:
git config --global http.sslbackend schannel
4. Clone the project/apms branch of the salesforce-foundation repository... git clone -b project/goms
https: //tgaau. visualstudio.con/Aged%20Carex2eProjects/_git/salesforce-foundation
5. Open the project in VSCode... code .
Configure git
Intpsuitgaauvisualstudlo.com/Aged Care Projects!_wikiwhis/Aged-Care-Projects wik!984/Developer-Tools 213asrv9029, 12:22 Developer Tools - Overview
This step will enable you to be identified in git commits.
1. Open a terminal
2. Change to C:\dev\salesforce-foundatior
3, Set your email
4, Set your username... git config user.name
git config user.enail
Authenticate your local machine to the sandbox
1. Open your project in VSCode..File > Open folder, and then navigate to the C:\Users \dev\salesforce-foundation directory.
2. From the main menu select View > Command Palette.
3, Select SFDX: Authorise an Org
4, Select Sandbox.
5. Enter an alias for the sandbox using the format -sandbox (your choice), and ther
press enter.
6.A browser window will now open.
7. Enter your Salesforce credentials for the sandbox and click login.
& You should now be able to see the org alias in the lower left, on the status bar.
(Optional) GitHub Desktop
if facing git ssl issues (or if you want a GUI git interface) a workaround to running git commands in VSCode
iis to use the github desktop application
1. download github Desktop (https://desktop.github.com/ ) and follow standard app installation
procedures.
2. once installed you will be prompted for a git login, either login with any existing github account, or skip
and provide a name and email
3. you will be presented with repo options, if you have not already cloned the repo then do so, otherwise
select open existing repo folder (salesforce-foundation}
4.0n your first fetch, you will be prompted for a username and password, here we use use the same
credentials found in the "Generate Git credentials” step
5. job done
Intpsuitgaauvisualstudlo.com/Aged Care Projects!_wikiwhis/Aged-Care-Projects wik!984/Developer-Tools 313