Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
silkaj
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
matograine
silkaj
Commits
473c47c0
Commit
473c47c0
authored
Jun 08, 2019
by
Moul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[doc] #182: Delete Pipenv documentation
parent
d3460116
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
85 deletions
+0
-85
README.md
README.md
+0
-1
doc/install_pipenv.md
doc/install_pipenv.md
+0
-84
No files found.
README.md
View file @
473c47c0
...
...
@@ -10,7 +10,6 @@ pip3 install silkaj --user
```
-
[
Install with Pip
](
doc/install_pip.md
)
-
[
Install with pipenv
](
doc/install_pipenv.md
)
-
[
Install the Development environment
](
doc/install_poetry.md
)
-
[
Install with the build
](
doc/install_build.md
)
-
[
Install with docker
](
doc/install_docker.md
)
...
...
doc/install_pipenv.md
deleted
100644 → 0
View file @
d3460116
# 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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment