File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,27 @@ $ pip3 install pycti
2121## Local development
2222
2323``` bash
24- $ pip3 install . --user --force --upgrade
24+ # Fork the current repository, then clone your fork
25+ $ git clone https://github.com/YOUR-USERNAME/client-python
26+ $ cd client-python
27+ $ git remote add upstream https://github.com/OpenCTI-Platform/client-python.git
28+ # Create a branch for your feature/fix
29+ $ git checkout -b [branch-name]
30+ # Create a virtualenv
31+ $ python3 -m venv .venv
32+ $ source .venv/bin/activate
33+ # Install the client-python and dependencies for the development and the documentation
34+ $ python3 -m pip install -e .[dev,doc]
35+ # Set up the git hook scripts
36+ $ pre-commit install
37+ # Create your feature/fix
38+ # Create tests for your changes
39+ $ pytest
40+ # Push you feature/fix on Github
41+ $ git add [file(s)]
42+ $ git commit -m " [descriptive message]"
43+ $ git push origin [branch-name]
44+ # Open a pull request
2545```
2646
2747## Documentation
You can’t perform that action at this time.
0 commit comments