Skip to content

Commit 34ed3c5

Browse files
committed
add(installation): prev versions intallations and readme guide
1 parent 305d19f commit 34ed3c5

File tree

2 files changed

+32
-25
lines changed

2 files changed

+32
-25
lines changed

PREVIOUS_VERSIONS.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Installing older versions
2+
3+
## Versions
4+
5+
### 2.0.3
6+
7+
- https://github.com/andre-filho/commit-helper/releases/tag/2.0.3
8+
9+
### 1.3.1
10+
11+
- https://github.com/andre-filho/commit-helper/releases/tag/1.3.1
12+
13+
## Install guide
14+
15+
1. Make sure you have all dependencies installed:
16+
- Git
17+
- python3 and python3-pip
18+
2. Download and unzip the package of your choice
19+
3. Into the project's folder, run `pip install -r requirements.txt`. Note: `sudo` may be required
20+
4. Create a alias to executing the project: `echo "alias commit='python3 ~/.commit-helper/generator.py'" >> ~/.bashrc` might do it.
21+
5. Reload your terminal `source ~/.bashrc`
22+
6. Be happy

README.md

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img src="https://api.codacy.com/project/badge/Grade/595af9a088cf44e19ec2679a8c2617f6" alt="Codacy Badge">
1616
</a>
1717
<a href="https://codeclimate.com/github/andre-filho/commit-helper/test_coverage"><img src="https://api.codeclimate.com/v1/badges/0ef7545d395120222d77/test_coverage" /></a>
18-
18+
1919
</p>
2020

2121
## What does it do?
@@ -28,29 +28,10 @@ Sometimes we, the developers, go _full-loco_ while programming and make mistakes
2828

2929
## Installation
3030

31-
Just follow the commands below:
31+
In order to install one of our older versions, check our [previous releases](PREVIOUS_VERSIONS). To install the latest (pip) version, just follow the commands below:
3232

3333
```bash
34-
$ chmod +x $HOME/.commit-helper/install.sh
35-
36-
$ ./$HOME/.commit-helper/install.sh
37-
38-
# or you could type the commands below
39-
40-
# make sure you have the dependencies installed in your machine and
41-
# have git ready to use
42-
$ sudo apt install python3-pip git
43-
44-
# clone the repo into your home
45-
$ git clone https://github.com/andre-filho/commit-helper.git ~/.commit-helper
46-
47-
$ pip3 install -r ~/.commit-helper/requirements.txt
48-
49-
# create a function in your .bashrc
50-
$ echo "alias commit='python3 ~/.commit-helper/generator.py'" >> ~/.bashrc
51-
52-
# reload terminal
53-
$ source ~/.bashrc
34+
$ pip3 install commit-helper
5435
```
5536

5637
## Usage and configuration
@@ -68,11 +49,11 @@ for the sake of not losing your precious time.
6849

6950
optional arguments:
7051
-h, --help show this help message and exit
71-
--co-author CO_AUTHOR
52+
-ca, --co-author CO_AUTHOR
7253
make your friend an co-author to the commit
73-
--no-generate NO_FILE
54+
-nf, --no-file
7455
disables the creation of a commiter.yml file
75-
--convention {angular,changelog,symphony,message}
56+
-c, --convention {angular,changelog,symphony,message}
7657
Selects a convention to be used for the commit.
7758
Required if there is no commiter.yml file.
7859
```
@@ -96,6 +77,10 @@ convention: angular # tag(context): commit message
9677
9778
# or
9879
80+
convention: karma # tag(context): commit message
81+
82+
# or
83+
9984
convention: changelog # TAG: commit message
10085
10186
# or

0 commit comments

Comments
 (0)