Skip to content

Commit 87796ef

Browse files
Update README.md
1 parent d3b8350 commit 87796ef

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@ your project.
2727

2828
## Important note
2929

30-
1. not_gitmodules just like Gitmodules doesn't `automatically install the dependencies`/`do not include the dependencies to your project dependency file` of the submodule.
30+
1. not_gitmodules just like Gitmodules doesn't `automatically install the dependencies`/`do not include the dependencies to your project dependency file (such as requirements.txt for Python or package.json for JavaScript)` of the submodule.
3131
2. not_gitmodules doesn't `download the submodules mentioned in the not_gimodules.yaml file of the submodule`.
3232
- Reason: it's practically inefficient, may lead to bugs and bottlenecks, and better to maintain manually.
3333

3434
How to handle?
35-
1. Move the containing of the dependency file to your project.
36-
2. Move submodules to your `not_gimodules.yaml` file and rerun install accordingly.
35+
1. Move the containing of the dependency file to your project's dependency file and rerun the dependency installer.
36+
2.1. Important note. `not_gitmodules` keeps the view of keeping the project structure clean. All submodules amoung one project/micro-service need to go to one folder. It's recommended to use dependency injection in case of having nested not_gitmodules.
37+
2.2. Move submodules to your `not_gimodules.yaml` file and rerun install accordingly.
3738

3839
## Installation and Usage
3940

0 commit comments

Comments
 (0)