File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,28 @@ steps:
40
40
2 ) [ Fork the Git-Sim codebase] ( https://github.com/initialcommit-com/git-sim/fork )
41
41
so that you have a copy on GitHub that you can clone and work with
42
42
3 ) Clone the codebase down to your local machine
43
- 4 ) For the code to run locally without getting a ` ModuleNotFoundError ` ,
44
- install the developement package by running
43
+ 4 ) If you previously installed Git-Sim normally using pip, uninstall it first using:
44
+
45
45
``` console
46
- $ cd git-sim
47
- $ python -m pip install --no-deps -e .
46
+ $ pip uninstall git-sim
47
+ ```
48
+
49
+ 5 ) To run the code locally from source, install the developement package by running:
50
+
51
+ ``` console
52
+ $ cd path/to/git-sim
53
+ $ python -m pip install -e .
48
54
```
55
+
49
56
This will install sources from your cloned repo such that you can edit the source and the changes are reflected instantly.
50
57
51
- 1 ) You can run your local Git-Sim commands from within other local repos like this:
58
+ If you already have the dependencies, you can ignore those using the ` --no-deps ` flag:
59
+
60
+ ``` console
61
+ $ python -m pip install --no-deps -e .
62
+ ```
63
+
64
+ 6 ) You can run your local Git-Sim commands from within other local repos like this:
52
65
53
66
``` console
54
67
$ git-sim [global options] < subcommand> [subcommand options]
You can’t perform that action at this time.
0 commit comments