Skip to content

Commit

Permalink
Fix hard-coded username in pipenv installation instructions
Browse files Browse the repository at this point in the history
Fix hard-coded username

Copy/pasting the instructions for installing pipenv fail because of a hard-coded /home/user, forcing user to modify the instructions before executing the command. This can be addressed by using the ${USER} environment variable.

Signed-off-by: Pierre Pierre Blais <[email protected]>
  • Loading branch information
ppb2020 authored and erikbosch committed Mar 20, 2024
1 parent 839b0d0 commit 9f71cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Install this project and its dependencies in the local `.venv` folder in this pr
```sh
export PIPENV_VENV_IN_PROJECT=1 # will create a local `.venv` in the project, otherwise uses global location
pip install pipenv
export PATH=/home/user/.local/bin:$PATH
export PATH=/home/${USER}/.local/bin:${PATH}
pipenv install --dev # install the development dependencies as well
```

Expand Down

0 comments on commit 9f71cbb

Please sign in to comment.