Merge pull request #528 from CandleHater/patch-2

added "missing" libffi/libpq package
This commit is contained in:
Arc 2022-03-07 05:47:29 +00:00 committed by GitHub
commit b886e5b0ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,8 @@ LNbits uses [Pipenv][pipenv] to manage Python packages.
```sh ```sh
git clone https://github.com/lnbits/lnbits-legend.git git clone https://github.com/lnbits/lnbits-legend.git
cd lnbits-legend/ cd lnbits-legend/
sudo apt-get install -y python3-venv
pipenv shell pipenv shell
# pipenv --python 3.9 shell (if you wish to use a version of Python higher than 3.7) # pipenv --python 3.9 shell (if you wish to use a version of Python higher than 3.7)
pipenv install --dev pipenv install --dev
@ -19,6 +21,9 @@ pipenv install --dev
# If any of the modules fails to install, try checking and upgrading your setupTool module # If any of the modules fails to install, try checking and upgrading your setupTool module
# pip install -U setuptools # pip install -U setuptools
# install libffi/libpq in case "pipenv install" fails
# sudo apt-get install -y libffi-dev libpq-dev
``` ```
## Running the server ## Running the server