Compare commits

..
7 Commits
Author SHA1 Message Date
calleandGitHub a9084a09f7 Docs/install docs (#983)
* check if wallet exists

* check wallet existence in key check

* update install docs
2022-09-20 15:08:45 +03:00
ArcandGitHub edf954d355 Merge pull request #979 from dasrecord/patch-1
Update wordlists.py
2022-09-20 11:47:18 +01:00
ArcandGitHub f165bb0cb5 Merge pull request #980 from dasrecord/patch-2
Update wordlists.py
2022-09-20 11:46:47 +01:00
ArcandGitHub 79bc1e85ed Merge pull request #982 from lnbits/fix-docker-deploy
fix docker deploy
2022-09-20 11:33:31 +01:00
dni ⚡ 9041c75eb6 fix docker deploy 2022-09-20 12:22:17 +02:00
dasrecordandGitHub c341a64190 Update wordlists.py
another spelling correction
2022-09-19 15:58:33 -07:00
dasrecordandGitHub dd443925c2 Update wordlists.py
spelling correction
2022-09-19 15:56:32 -07:00
3 changed files with 14 additions and 10 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
FROM python:3.9-slim
RUN apt-get clean
RUN apt-get update
RUN apt-get install -y curl
RUN apt-get install -y curl pkg-config build-essential
RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="/root/.local/bin:$PATH"
WORKDIR /app
+10 -7
View File
@@ -12,6 +12,8 @@ By default, LNbits will use SQLite as its database. You can also use PostgreSQL
## Option 1 (recommended): poetry
If you have problems installing LNbits using these instructions, please have a look at the [Troubleshooting](#troubleshooting) section.
```sh
git clone https://github.com/lnbits/lnbits-legend.git
cd lnbits-legend/
@@ -26,12 +28,11 @@ curl -sSL https://install.python-poetry.org | python3 -
export PATH="/home/ubuntu/.local/bin:$PATH" # or whatever is suggested in the poetry install notes printed to terminal
poetry env use python3.9
poetry install --no-dev
poetry run python build.py
mkdir data
cp .env.example .env
sudo nano .env # set funding source
nano .env # set funding source
```
#### Running the server
@@ -176,13 +177,15 @@ Problems installing? These commands have helped us install LNbits.
```sh
sudo apt install pkg-config libffi-dev libpq-dev
# build essentials for debian/ubuntu
sudo apt install python3.9-dev gcc build-essential
# if the secp256k1 build fails:
# if you used venv
./venv/bin/pip install setuptools wheel
# if you used poetry
poetry add setuptools wheel
# build essentials for debian/ubuntu
sudo apt install python3-dev gcc build-essential
# if you used venv
./venv/bin/pip install setuptools wheel
```
### Optional: PostgreSQL database
+2 -2
View File
@@ -5,13 +5,13 @@ animals = [
"duck",
"eagle",
"flamingo",
"gorila",
"gorilla",
"hamster",
"iguana",
"jaguar",
"koala",
"llama",
"macaroni penguim",
"macaroni penguin",
"numbat",
"octopus",
"platypus",