Skip to content

Commit 1dd65b6

Browse files
authored
Update README.md
1 parent 54bac70 commit 1dd65b6

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,28 @@ git clone https://github.com/BaseMax/get-github-issues.git
1515
cd get-github-issues
1616
```
1717

18+
Create an virtual envirement:
19+
```console
20+
python -m venv venv
21+
```
22+
1823
Install the dependencies:
1924
```bash
2025
pip install -r requirements.txt
2126
```
2227

28+
At last run activate binary file to enable virtual envirenment:
29+
```console
30+
source venv/bin/activate
31+
```
32+
2333
## Usage
2434

25-
Set the GITHUB_TOKEN (GitHub Personal Access Token) variable inside `.env` file:
35+
Set the ACCESS_TOKEN (GitHub Personal Access Token) variable inside `.env` file:
2636

2737
Or
2838
```bash
29-
export GITHUB_TOKEN=YOUR_TOKEN_HERE
39+
export ACCESS_TOKEN=YOUR_TOKEN_HERE
3040
```
3141

3242
Run the script:
@@ -37,7 +47,7 @@ python get-github-issues.py <owner> <repository> <labels>
3747
Replace <owner> with the name of the repository owner, <repository> with the name of the repository, and <labels> with a comma-separated list of labels you want to filter by. For example:
3848

3949
```bash
40-
python get-github-issues.py BaseMax get-github-issues "bug, enhancement"
50+
python get-github-issues.py BaseMax get-github-issues "bug,enhancement"
4151
```
4252

4353
This will fetch all open issues in the BaseMax/get-github-issues repository with the labels "bug" or "enhancement".

0 commit comments

Comments
 (0)