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
a1ad2d68
Commit
a1ad2d68
authored
5 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[doc]
#182
: Delete Pipenv documentation
parent
a26e4df2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+0
-1
0 additions, 1 deletion
README.md
doc/install_pipenv.md
+0
-84
0 additions, 84 deletions
doc/install_pipenv.md
with
0 additions
and
85 deletions
README.md
+
0
−
1
View file @
a1ad2d68
...
@@ -10,7 +10,6 @@ pip3 install silkaj --user
...
@@ -10,7 +10,6 @@ pip3 install silkaj --user
```
```
-
[
Install with Pip
](
doc/install_pip.md
)
-
[
Install with Pip
](
doc/install_pip.md
)
-
[
Install with pipenv
](
doc/install_pipenv.md
)
-
[
Install the Development environment
](
doc/install_poetry.md
)
-
[
Install the Development environment
](
doc/install_poetry.md
)
-
[
Install with the build
](
doc/install_build.md
)
-
[
Install with the build
](
doc/install_build.md
)
-
[
Install with docker
](
doc/install_docker.md
)
-
[
Install with docker
](
doc/install_docker.md
)
...
...
This diff is collapsed.
Click to expand it.
doc/install_pipenv.md
deleted
100644 → 0
+
0
−
84
View file @
a26e4df2
# Install Silkaj with Pipenv
### Install libsodium
```
bash
sudo
apt
install
libsodium23
# Debian Buster
sudo
apt
install
libsodium18
# Debian Stretch
sudo
dnf
install
libsodium
# Fedora
```
### Install pipenv
```
bash
sudo
apt
install
pipenv
# Debian ≥ Buster
sudo
dnf
install
pipenv
# Fedora
```
-
[
Pipenv installation instructions
](
https://github.com/pypa/pipenv#installation
)
### Retrieve silkaj sources
```
bash
git clone https://git.duniter.org/clients/python/silkaj.git
cd
silkaj
```
### Install with dependencies
```
bash
pipenv
install
"-e ."
```
The double quotes are important, if you forget them,
`pipenv`
will install silkaj from pypi
### Run silkaj
```
bash
pipenv run silkaj
```
-
You can create shell alias, for instance for Bash, add in the
`~/.bashrc`
:
```
bash
alias
silkaj
=
"cd
$HOME
/silkaj/silkaj && pipenv run silkaj"
```
### Activate pipenv shell and run the executable
```
bash
pipenv shell
./bin/silkaj
```
## Manage Python versions with Pyenv
If you have trouble with the pipenv install, may be the Python version installed on your system is not up to date.
To install and manage easily multiple Python version, use Pyenv:
### Install pyenv on your home
```
bash
curl
-L
https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
```
Add in
`~/.bash_profile`
, in
`~/.bashrc`
on Fedora or Ubuntu:
```
bash
export
PATH
=
"
$HOME
/.pyenv/bin:
$PATH
"
eval
"
$(
pyenv virtualenv-init -
)
"
eval
"
$(
pyenv init -
)
"
export
PYENV_ROOT
=
"
$HOME
/.pyenv"
```
Reload your bash config:
source ~/.bashrc
or
source ~/.bash_profile
### Install Python version required
pyenv install 3.7.2
### Select Python version for the current shell
pyenv shell 3.7.2
Pipenv will search the
`Pyenv`
Python version chosen before the system version.
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