Preparing Tools
Note
The below documentation details our development environment at WESEEK Inc. It may include some tools that are not necessary for your use case.
3-Way Merge Tool
- Install P4Merge (Helix Visual Client (P4V))
- Download and install P4V here: https://www.perforce.com/downloads/helix-visual-client-p4v (opens new window)
- Complete user registration
- Set up P4Merge
- Choose any 2 files on the Diff tab
- Edit -> Preferences...
- For Character encoding, select
Unicode (UTF-8, no BOM)
orUnicode(UTF-8)
(with no BOM setting) - For Line ending type, select UNIX (LF)
- For Character encoding, select
GUI Client for Git
WESEEK Rule
Developers who are not used to Git functionality (branches, reset, rebase) should use a GUI client. GUI clients make it easy to develop while keeping in mind the tree structure of the Git repository and related considerations.
- Install SourceTree
- Download and install SourceTree here: https://www.atlassian.com/software/sourcetree (opens new window)
- If you recive a dialog saying "Unable to find Git", select "Download Git for use with SourceTree only"
- Set up SourceTree
- Open a terminal using SourceTree
- Disable autoCRLF
- Copy-paste this command into the terminal:
git config --global core.autoCRLF false
- Copy-paste this command into the terminal:
- Set up your personal Git account
- Tools > Options > General
- Set up Default User Information as appropriate
- Set up P4Merge
- Tools > Options > Diff
- External Diff Tool > Merge Tool > select P4Merge
- Default character encoding
- Tools > Options > General
- Default character encoding > select utf-8
GUI Client for MongoDB
- Install Robo 3T (opens new window)
Install an execution environment for docker and docker-compose
Git Setup
Devcontainer will automatically inherit settings from Docker.
These settings must be set up on the host side.
Set up Visual Studio Code
- Install Visual Studio Code (opens new window)
- Install extensions
- Remote - Development
- Docker