Skip to content

Commit 84637ea

Browse files
authored
Update README.md
1 parent 1a3c6f5 commit 84637ea

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,37 @@ Update a package...
4747
gpscript update <package_name>
4848
```
4949

50+
## Developer Guidelines
51+
Path of installation script is `<path_of_virtualenv>/applications/<your_script_folder>`. applications folder will create automatically in virtualenv when a script will install
52+
53+
Before installation any script..
54+
55+
![image](https://user-images.githubusercontent.com/55041104/140525324-19765c22-a75f-4777-a618-d0cbf55b8e68.png)
56+
57+
58+
Let we Install `LinkedIn-Job-Scraper`
59+
60+
![image](https://user-images.githubusercontent.com/55041104/140558125-d96e36b8-192d-468f-ae99-6133fcc214c4.png)
61+
62+
63+
![image](https://user-images.githubusercontent.com/55041104/140558534-cd1715ba-01f3-41fc-ae08-8ee1a2e34742.png)
64+
65+
So, set the path uses location that way...
66+
67+
```python
68+
import os
69+
base_dir = os.path.dirname(os.path.realpath(__file__))
70+
```
71+
72+
Set path of script relative to base_dir
73+
74+
For example,
75+
76+
![image](https://user-images.githubusercontent.com/55041104/140559355-7dc8bc41-8316-4223-a78d-6804f439850f.png)
77+
78+
![image](https://user-images.githubusercontent.com/55041104/140559465-42a80f03-196a-47dd-b121-870670f91f2c.png)
79+
80+
5081
## How to contribute
5182

5283
Our repository accepts all kinds of contributions. Before making a contribution please make sure you have gone through our [contributing guidelines](https://github.com/GDSC-RCCIIT/General-Purpose-Scripts/blob/main/.github/CONTRIBUTING.md).

0 commit comments

Comments
 (0)