-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from LDAR-Sim/Git-Commit-Template
feat: Add Git commit template
- Loading branch information
Showing
3 changed files
with
93 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<type>: Short summary of change (limit 50 chars) | ||
# Valid types are : | ||
# feat - feature | ||
# fix - bug fixes | ||
# docs - changes to the documentation like README | ||
# style - style or formatting change | ||
# perf - improves code performance | ||
# test - test a feature | ||
# data - adding example data | ||
|
||
Reason for change: | ||
# Describe the problem the change is attempting to solve. | ||
|
||
Resolution: | ||
# Describe how the change solves the problem. | ||
|
||
Effect(s) of change: | ||
# Describe how the resolution may affect existing functionality/code. | ||
|
||
# Include Co-authors if any | ||
# Format: Co-authored-by: name <[email protected]> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Setup Instructions | ||
|
||
## Setting up the LDAR-Sim dev environment | ||
|
||
The following were steps taken to create a Ldar_sim virtual environment with conda. | ||
|
||
- Install Miniconda3 newest version | ||
|
||
From Conda Shell: | ||
|
||
- cd into LDAR-Sim/install | ||
- Run The following commands: | ||
|
||
```cmd | ||
conda config --add channels conda-forge | ||
``` | ||
```cmd | ||
conda config --set channel_priority strict | ||
``` | ||
```cmd | ||
conda create -n ldar_sim --file requirements.txt | ||
``` | ||
```cmd | ||
conda activate ldar_sim_env | ||
``` | ||
if you are using satellite modules orbit predictor needs to be added to environement | ||
Run the following command: | ||
```cmd | ||
pip install orbit_predictor == 1.14.2 | ||
``` | ||
|
||
## Setting up LDAR-Sim commit templates | ||
|
||
Run the following command to set the git commit template into the LDAR-Sim standard: | ||
|
||
```cmd | ||
git config commit.template LDAR_Sim/install/.gitmessage | ||
``` | ||
|
||
### Git commit message template | ||
|
||
This is what the commit message template should look like | ||
|
||
```Diff | ||
<type>: Short summary of change (limit 50 chars) | ||
# Valid types are : | ||
# feat - feature | ||
# fix - bug fixes | ||
# docs - changes to the documentation like README | ||
# style - style or formatting change | ||
# perf - improves code performance | ||
# test - test a feature | ||
# data - adding example data | ||
|
||
Reason for change: | ||
# Describe the problem the change is attempting to solve. | ||
|
||
Resolution: | ||
# Describe how the change solves the problem. | ||
|
||
Effect(s) of change: | ||
# Describe how the resolution may affect existing functionality/code. | ||
|
||
# Include Co-authors if any | ||
# Format: Co-authored-by: name <[email protected]> | ||
``` |