-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from Siege-Software/add-docstrings-and-update-…
…readme Add docstrings and update readme
- Loading branch information
Showing
7 changed files
with
248 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## Contribution | ||
django-typesense’s git main branch should always be stable, production-ready & passing all tests. | ||
|
||
### Setting up the project | ||
``` | ||
# clone the repo | ||
git clone https://gitlab.com/siege-software/packages/django_typesense.git | ||
git checkout -b <your_branch_name> stable/1.x.x | ||
# Set up virtual environment | ||
python3.8 -m venv venv | ||
source venv/bin/activate | ||
pip install -r requirements-dev.txt | ||
# Enable automatic pre-commit hooks | ||
pre-commit install | ||
``` | ||
|
||
### Running Tests | ||
``` | ||
cd tests | ||
pytest . | ||
``` | ||
|
||
### Building the package | ||
`python -m build` | ||
|
||
### Installing the package from build | ||
` pip install path/to/django_typesense-0.0.1.tar.gz` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.1.1-alpha" | ||
__version__ = "0.1.1" |
Oops, something went wrong.