Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a9084a09f7 | ||
|
|
edf954d355 | ||
|
|
f165bb0cb5 | ||
|
|
79bc1e85ed | ||
|
|
9041c75eb6 | ||
|
|
c341a64190 | ||
|
|
dd443925c2 |
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
FROM python:3.9-slim
|
FROM python:3.9-slim
|
||||||
|
RUN apt-get clean
|
||||||
RUN apt-get update
|
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 -
|
RUN curl -sSL https://install.python-poetry.org | python3 -
|
||||||
ENV PATH="/root/.local/bin:$PATH"
|
ENV PATH="/root/.local/bin:$PATH"
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ By default, LNbits will use SQLite as its database. You can also use PostgreSQL
|
|||||||
|
|
||||||
## Option 1 (recommended): poetry
|
## Option 1 (recommended): poetry
|
||||||
|
|
||||||
|
If you have problems installing LNbits using these instructions, please have a look at the [Troubleshooting](#troubleshooting) section.
|
||||||
|
|
||||||
```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/
|
||||||
@@ -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
|
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 env use python3.9
|
||||||
poetry install --no-dev
|
poetry install --no-dev
|
||||||
|
poetry run python build.py
|
||||||
|
|
||||||
mkdir data
|
mkdir data
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
sudo nano .env # set funding source
|
nano .env # set funding source
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Running the server
|
#### Running the server
|
||||||
@@ -176,13 +177,15 @@ Problems installing? These commands have helped us install LNbits.
|
|||||||
```sh
|
```sh
|
||||||
sudo apt install pkg-config libffi-dev libpq-dev
|
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 the secp256k1 build fails:
|
||||||
# if you used venv
|
|
||||||
./venv/bin/pip install setuptools wheel
|
|
||||||
# if you used poetry
|
# if you used poetry
|
||||||
poetry add setuptools wheel
|
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
|
### Optional: PostgreSQL database
|
||||||
|
|||||||
@@ -5,13 +5,13 @@ animals = [
|
|||||||
"duck",
|
"duck",
|
||||||
"eagle",
|
"eagle",
|
||||||
"flamingo",
|
"flamingo",
|
||||||
"gorila",
|
"gorilla",
|
||||||
"hamster",
|
"hamster",
|
||||||
"iguana",
|
"iguana",
|
||||||
"jaguar",
|
"jaguar",
|
||||||
"koala",
|
"koala",
|
||||||
"llama",
|
"llama",
|
||||||
"macaroni penguim",
|
"macaroni penguin",
|
||||||
"numbat",
|
"numbat",
|
||||||
"octopus",
|
"octopus",
|
||||||
"platypus",
|
"platypus",
|
||||||
|
|||||||
Reference in New Issue
Block a user