Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
12df42e9
Commit
12df42e9
authored
3 months ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
Proofread install_poetry.md (
#433
)
Include poetry logo
parent
c745d3ee
No related branches found
No related tags found
1 merge request
!271
Set up new website structure with MkDocs (#433)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/install_poetry.md
+17
-15
17 additions, 15 deletions
docs/install_poetry.md
with
17 additions
and
15 deletions
docs/install_poetry.md
+
17
−
15
View file @
12df42e9
<center>

{: style="height:120px;width:120px"}
</center>
## Install Silkaj in a development environement with Poetry
### Install libsodium
```
bash
sudo
apt
install
libsodium23
# Debian Buster
sudo
apt
install
libsodium18
# Debian Stretch
sudo
dnf
install
libsodium
# Fedora
```
=== "Debian"
```
sudo apt install libsodium23
```
=== "Fedora"
```
sudo dnf install libsodium
```
### Install Poetry
-
[
Installation documentation
](
https://python-poetry.org/docs/#installation
)
### On Debian Buster
```
bash
sudo
apt
install
python3-pip python3-venv
sudo
apt
install
libffi-dev
# Required on ARMbian
pip3
install
poetry
--user
```
pipx install poetry
```
### Install dependencies and the Python virtual environment
...
...
@@ -45,17 +49,15 @@ poetry run silkaj
### Poetry shell
You can access tools
(
`pytest`
,
`black`
)
from within the development environment with
`poetry run`
or by entering the shell:
You can access tools
`pytest`
from within the development environment with
`poetry run`
or by entering the shell:
```
bash
silkaj> poetry run pytest
silkaj> poetry run black
```
```
bash
silkaj> poetry shell
(
silkaj-58dUTebQ-py3.9
)
silkaj> black
(
silkaj-58dUTebQ-py3.9
)
silkaj> pytest
(
silkaj-58dUTebQ-py3.12
)
silkaj> pytest
```
### Make Silkaj accessible from everywhere
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment