Skip to content

Commit 02a354e

Browse files
docs: Add how to create the requirements.txt
1 parent a973053 commit 02a354e

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,34 @@ jobs:
3737
```bash
3838
docker build . -t githubactiontest -f Dockerfile
3939
docker run -e ISSUER_ID=a -e KEY_ID=a -e AUTH_KEY=a -e APP_ID=a -e WHATS_NEW=a -e BUILD_NUMBER=a -d githubactiontest
40+
```
41+
42+
43+
### Build
44+
45+
Generating the requirements.txt
46+
47+
Create a virtual env
48+
49+
```bash
50+
cd /tmp
51+
mkdir api_venv
52+
cd api_venv/
53+
python3.10 -m venv venv
54+
cd venv/bin
55+
source activate
56+
```
57+
58+
Then install the libraries
59+
```bash
60+
pip3 install cryptography
61+
pip3 install requests
62+
pip3 install pyjwt
63+
pip3 install markdown
64+
pip3 install beautifulsoup4
65+
```
66+
67+
Export the requirements
68+
```bash
69+
pip3 freeze > requirements.txt
4070
```

0 commit comments

Comments
 (0)