Skip to content
Snippets Groups Projects
Commit e7239d3a authored by Moul's avatar Moul
Browse files

Improve "How to contribute to Silkaj" slides:

- Installing Poetry as pre-release is no longer required
- Clone over http to ease the entry in the project
- Replace bin/silkaj by pyproject.toml to trigger silkaj
parent 478f053a
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -225,11 +225,11 @@ class: center, middle
- On Debian Buster:
```bash
sudo apt install libsodium23 python3-pip python3-venv
python3 -m pip install poetry --user --pre
python3 -m pip install poetry --user
```
--
```bash
git clone git@git.duniter.org:clients/python/silkaj.git
git clone https://git.duniter.org/clients/python/silkaj.git
cd silkaj
poetry install
```
......@@ -335,9 +335,6 @@ template: files
- `tests/test_*.py`
--
- `bin/silkaj`
--
- `silkaj/*.py`
--
......@@ -367,7 +364,6 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
.changes:
only:
changes:
- bin/silkaj
- silkaj/*.py
- tests/*.py
```
......@@ -418,7 +414,7 @@ name: cicd
- Release on the *Python Package Index* [PyPI](https://pypi.org/project/silkaj/) and [PyPI test](https://pypi.org/project/silkaj/)
--
- [Coverage](https://clients.duniter.io/python/silkaj/index.html) on GitLab Pages
- [Coverage report](https://clients.duniter.io/python/silkaj/index.html) deployed on GitLab Pages
--
![DuniterPy pipeline](../images/duniterpy_pipeline.png)
......@@ -498,13 +494,11 @@ name: cert
#### Dive into source files for the `cert` command
--
- [`bin/silkaj`](https://git.duniter.org/clients/python/silkaj/blob/dev/bin/silkaj):
- [`pyproject.toml`](https://git.duniter.org/clients/python/silkaj/blob/dev/pyproject.toml):
```python
from silkaj.cli import cli
if __name__ == "__main__":
cli(obj={})
```toml
[tool.poetry.scripts]
silkaj = "silkaj.cli:cli"
```
--
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment