Commit Graph

253 Commits

Author SHA1 Message Date
ben
05c8f02cb7 Added code sample for websocket stuff 2022-10-06 17:41:06 +01:00
HODLmeTight
36b60ad318
added debug option for .env 2022-10-06 14:50:33 +02:00
HODLmeTight
63e4f7d59c
changed comment places and small adjustments
- #comments in own lines
  - cleaned up some ominous settings
  - added --debug option for running the server
2022-10-06 14:25:14 +02:00
HODLmeTight
b6755abc8e
updated poetry install notes
- referenced option for python3.10 and newer
- poetry install with --only main, instead of --no-dev (deprecated)
2022-10-05 09:16:54 +02:00
Arc
07293e7d5c
Update installation.md 2022-09-29 10:45:09 +01:00
ben
9c575b7d3a typo 2022-09-29 10:37:16 +01:00
ben
7de17485d3 typo 2022-09-29 10:34:53 +01:00
ben
55b0814d93 added intro 2022-09-29 10:34:03 +01:00
ben
22b0ed0496 Added Caddy 2022-09-29 10:31:10 +01:00
dni ⚡
8e06d779e7
add dependencies for corelightning and lndgrpc (#1003)
* add dependencies for corelightning and lndgrpc

* added wrong cln library, 🤦
2022-09-23 16:56:14 +03:00
calle
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
calle
f3a16a28cc
Update installation.md (#955) 2022-09-11 13:06:55 +03:00
Lee Salminen
aff7e11089
Update installation.md 2022-08-21 12:57:28 -06:00
Lee Salminen
218ccbc3a7
Update installation.md 2022-08-21 11:46:11 -06:00
Lee Salminen
5c2045927a
Update installation.md 2022-08-21 11:39:34 -06:00
Lee Salminen
d9ddd746e0
Update installation.md 2022-08-21 11:25:39 -06:00
Lee Salminen
7d56878f55
Update installation.md 2022-08-19 16:33:17 -06:00
Lee Salminen
70deb7e702 add docs for hosting lnbits on fly.io 2022-08-19 16:29:32 -06:00
dni ⚡
d649e6a5c0
fix migrations, add documentation, hopefully fix workflow (#899)
* fix migrations, add documentation, hopefully fix workflow

* renaming to test-migration and add migration

Co-authored-by: dni <dni.khr@gmail.com>
2022-08-17 15:42:01 +02:00
callebtc
65f27afd76 upadte systemd docs to poetry 2022-08-17 14:25:19 +02:00
Joe
8956bdc954
Update installation.md (#884)
* Update installation.md

I needed to run this additional command to install python3.9-specific distutils. Without this, installation of several poetry dependencies (idna, pyparsing, sniffio) failed with message: 
ModuleNotFoundError: No module named 'distutils.cmd'

* Update installation.md
2022-08-15 16:22:20 +02:00
dni ⚡
32a09f7359
add apache2 reverse proxy documentation (#868)
* add apache2 reverse proxy documentation

* add certbot

Co-authored-by: dni <dni.khr@gmail.com>
2022-08-13 14:41:23 +02:00
calle
8dfb4329d1
ssl cert creation method using openssl (#860) 2022-08-10 10:32:43 +02:00
calle
4fc0a25d41
Mega-merge 4: Reenable LndWallet gRPC and use TrackPaymentV2 (#745)
* readd lndgrpc

* debug logging

* Use TrackPaymentV2

* /v2/router/track

* lnd_router_grpc

* flag for blocking check

* error handling

* fix name

* regtest lndgrpc

* new test pipeline

* fix env

* check for description hash

* remove unnecessary asserts for clarity

* assume that description_hash is a hash already

* no lock

* description hashing in backend

* restore bolt11.py

* /api/v1/payments with hex of description

* comment

* refactor wallets

* forgot eclair

* fix lnpay

* bytes directly

* make format

* mypy check

* make format

* remove old code

* WIP status check

* LND GRPC docs

* restore cln to main

* fix regtest

* import

* remove unused import

* format

* do not expect ok

* check ok

* delete comments
2022-08-09 11:49:39 +02:00
Vlad Stan
63849a0894
Generalize conv.py (#849)
* feat: generalize the script for  `sqlite` to `postgres`

* fix: revert db connection params

* doc: remove manual conversion docs

* chore: fix formatting

* fix: add back instructions for `mock_data.zip`

* fix: exclude SQLite tables from migration

* fix: rename `your_extension.db` to `your_extension.sqlite3`
2022-08-09 10:45:50 +02:00
dni ⚡
48a57513f4
create new Dockerfile using poetry (#806)
* create new Dockerfile using poetry

* dont use unsure docker hub image

* add example env variable to docker command

* remove copy of lnbits, and order of commands

* add build.py for static files

* add compiled resources to docker ignore, so we don't accidently add it to image

* use generic python

* CMD with arguments

Co-authored-by: dni <dni.khr@gmail.com>
2022-08-04 08:05:51 +02:00
calle
8535d70d36
Poetry dev (#837)
* black and isort for tests

* black and isort for build

* use poetry in Makefile, update pyproject.toml dependencies and add configs for black, pytest, mypy, isort there

* switching github workflow to poetry

* set mininum version to python 3.7

* fix tests

* add types-protobuf to dev packages

* fix cln regtest

* update docs

* try fix 1

* mypy fix2

* fix isort formatting workflow

* add prettier to dev docs

* multiple valid python version for pyproject

* update poetry.lock

* remove development installation, not needed anymore

* fix migration workflows

* format into one test

* fix yaml

* fix pipeline

* fix pipeline

* fix again

* fix

* rename checks

* remove venv tests

* venv test once

Co-authored-by: dni <dni.khr@gmail.com>
2022-08-03 14:10:32 +02:00
calle
91fefdb83d
migration for extensions (#835) 2022-08-03 11:27:08 +02:00
fusion44
989c6b51ba
Updates to documentation (#574)
* fix: rpc library install when using LND

fixes #563

* chore: improve some out of date docs

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-08-03 10:03:01 +02:00
Arc
d38ff896f6
update dev docs for internal testing before pushing (#801) 2022-08-03 09:55:20 +02:00
Arc
972a1d4ac9
Update installation.md 2022-08-02 22:02:53 +01:00
Arc
a948f0f8d9
Update installation.md 2022-08-02 22:01:09 +01:00
Arc
08fd967f8a
Update installation.md 2022-08-02 22:00:55 +01:00
Arc
3b6c2b0103
Update installation.md 2022-08-02 21:59:55 +01:00
Arc
88ef3a38fc
Update installation.md 2022-08-02 21:01:58 +01:00
calle
9c19b61e4a
Mega-merge 3: CLN update client lib with descriptionhash support (WIP) (#792)
* CoreLightningWallet
2022-08-01 16:41:50 +02:00
Arc
c075b28a96
Put venv server un direction back 2022-07-31 10:22:29 +01:00
calle
f24d593f00
Fix docker staticfiles (#811)
* Fix staticfiles for docker install

* docker build instructions

* all tests python 3.9

Co-authored-by: cryptoteun <73664763+cryptoteun@users.noreply.github.com>
2022-07-30 17:09:14 +02:00
dni
096778eb43 wrong link 2022-07-29 13:02:43 +02:00
dni
909691bd9b add swagger api docs 2022-07-29 13:01:03 +02:00
dni
2e715d6eea change url 2022-07-29 12:44:42 +02:00
Arc
e09a1bdf90
Update CNAME 2022-07-29 11:39:35 +01:00
calle
f22e1e16af
build instruction (#800) 2022-07-28 15:26:43 +02:00
ben
a7d27467f0 Updated install docs 2022-07-28 11:43:31 +01:00
ben
eafefce709 Bye pipenv
Its not personal its just business
2022-07-28 11:19:30 +01:00
Arc
04114c82f2
Update installation.md 2022-07-28 11:07:44 +01:00
Arc
7f79b5ac7f
Update installation.md 2022-07-28 11:06:42 +01:00
Arc
bb002c6d40
Update wallets.md 2022-07-27 17:57:59 +01:00
Arc
8cac577f2f
Update installation.md 2022-07-27 15:09:41 +01:00
Arc
2b811ec1bb
Update installation.md 2022-07-27 15:07:16 +01:00
Arc
ee1cc28187
Update installation.md 2022-07-27 15:01:23 +01:00
calle
96af5fc3a7
CI: Test core/views/generic.py (#772)
* Adds tests for GET /wallet

* Update `httpx` to `0.23.0` and `http-core` to `0.15.0` in `venv` installation path

* Fix `secp256k1 = "==0.14.0"` and `cffi = "==1.15.0"`
2022-07-23 10:39:58 +02:00
calle
e4df8c52e2
add mkcert instructions (#768) 2022-07-21 14:01:16 +02:00
calle
ad2aad05e0
CI: Migration SQLite to PostgreSQL (#719)
* migrate all extensions
* errors if migration is missing
2022-07-17 13:11:13 +02:00
Arc
37c7553c19
Update installation.md 2022-07-15 08:18:07 +01:00
calle
1f13bdeb2f
Pipenv/fix install loguru (#732)
* update pipfile

* pipenv workflow

* pipfile jinja

* Pipfile installs dev files

* python3.8 tests only

* version tag yaml

* all tests

* pipenv with pip

* only 3.7

* activate env

* test-pipenv

* pipenv importlib_metadata

* importlib-metadata

* 3.8

* 3.7 only oops

* merge install guides

* install guide in README
2022-07-13 01:15:48 +02:00
Bitkarrot
46462b4f01
Update extensions.md (#724)
suggestion for gsed on macOS, as sed may not work

reference: https://apple.stackexchange.com/questions/414568/i-get-an-error-sed-1-12d-invalid-command-code-when-i-use-sed-12d-samp
2022-07-11 13:40:46 +02:00
calle
63d4e60542
Testing: postgres db backend (#711)
* try postgres run

* fix yaml

* test with postgres

* check with postgres

* inkey_from

* remove trio

* add coverage

* add coverage

* more python testing

* use @pytest_asyncio.fixture

* remove unused imports

* fix api_payment payment lookup

* measure durations
2022-07-07 18:29:26 +02:00
HODLmeTight
145b69b259
Adjusted sequencing of the migration script (#651)
lnbits needs to run on postgres once before `python3 conv.py` actually works
2022-06-02 08:51:02 +02:00
calle
b4a6b5a1d9
serviced fix doc (#645) 2022-06-01 13:25:37 +02:00
Jan Pobořil
66529c10d0
Fixed docs about LND_REST_ENDPOINT
There should be base URL, not only hostname.
2022-04-13 17:20:24 +02:00
Arc
a17108f108
Update installation.md 2022-03-22 19:25:30 +00:00
Arc
b886e5b0ea
Merge pull request #528 from CandleHater/patch-2
added "missing" libffi/libpq package
2022-03-07 05:47:29 +00:00
Arc
41a9689014
Update installation.md 2022-02-18 17:17:18 +00:00
Arc
76edfa2134
Update installation.md 2022-02-18 17:16:49 +00:00
Arc
d7b3a28950
Update installation.md 2022-02-18 17:16:18 +00:00
Arc
2c161a079d
Update installation.md 2022-02-18 17:16:03 +00:00
Candle
4793ea0d18
added "missing" libffi/libpq package
When I tryed to run "pipenv install --dev" on a Pi 4 with the latest Raspberry OS it failed with two dependencies. These additional installations fixed it.
2022-02-18 16:35:32 +01:00
calle
0764f4fdf1
Support for encrypted macaroons (#521)
* encrypted macaroons

* fix GRPC env entry

* example config entry

* add pycryptodomex to requirements

* documentation

* Added pycryptodomex to pip file

Co-authored-by: Ben Arc <ben@arc.wales>
2022-02-14 17:54:05 +01:00
orangesurf
9e8376b3fb
Remove suggestion to switch to FastAPI branch (#520)
Branch does not exist
2022-02-14 13:38:22 +01:00
Arc
1a492cbfb8
Update installation.md 2022-02-14 11:42:19 +00:00
callebtc
9505958306 systemd guide 2022-01-27 21:07:47 +01:00
Arc
9e13b8eb70
Update installation.md 2022-01-18 22:29:15 +00:00
Arc
fc021b3736
Update installation.md 2022-01-14 10:23:22 +00:00
Arc
6718ed678d
Update installation.md 2022-01-14 10:23:02 +00:00
Arc
ab62014bf0
Update installation.md 2022-01-14 10:16:50 +00:00
Arc
1940b8762b
Update installation.md 2022-01-14 10:15:31 +00:00
Arc
46838ca66f
Update installation.md 2022-01-14 10:13:02 +00:00
Arc
5fe9df48dd
Update installation.md 2022-01-14 10:11:42 +00:00
Arc
5bacb5f38a
Update installation.md 2022-01-14 10:11:26 +00:00
Arc
0f70b346ca
Update installation.md 2022-01-14 10:10:52 +00:00
Arc
c87aa3dd2b
Update installation.md 2022-01-14 09:38:04 +00:00
Arc
7812c4aa48
Update installation.md 2022-01-14 09:37:27 +00:00
Arc
fefa8ba56e
Update installation.md 2022-01-14 09:36:18 +00:00
Arc
1dd8b01f5a
Update installation.md 2022-01-14 09:34:46 +00:00
Arc
81dc9303f6
Update installation.md 2022-01-14 09:34:00 +00:00
Arc
8ca8d173e8
Update installation.md 2022-01-14 09:27:06 +00:00
Arc
46e682bca3
Update installation.md 2022-01-14 09:20:20 +00:00
Arc
11bf2029be
Update installation.md 2022-01-14 09:19:49 +00:00
Arc
a44aba6fcf
Update installation.md 2022-01-14 09:18:40 +00:00
Arc
d1a7d684b5
Update installation.md 2022-01-14 09:17:07 +00:00
cryptoteun
7407be944c
Added warning for LNULRp issues 2022-01-06 13:14:19 +01:00
Arc
a1ae7aca9e
Update installation.md 2021-12-21 20:46:34 +00:00
Charles Hill
7cefd200aa lntxbot.bigsun.xyz will expire soon, use lntxbot.com instead
See: https://twitter.com/lntxbot/status/1457341136918482945
2021-12-17 19:55:31 -03:00
Arc
d21b68a5e7
Merge pull request #417 from chill117/fastapi-tests
Unit tests for FastAPI branch
2021-12-05 22:13:10 +00:00
Charles Hill
4e6c30a909
Unit tests for FastAPI branch
Run via `make test`
2021-12-04 13:11:45 -06:00
Tiago vasconcelos
1406949ceb added postgres convertion and updated guide 2021-11-18 11:33:26 +00:00
Tiago vasconcelos
24cbbc0cd5 fix psql typo 2021-11-12 11:44:44 +00:00
Tiago vasconcelos
7ad75cb1a4 update install guide to postgres 2021-11-12 11:38:07 +00:00
Arc
2f9751940e
Update installation.md 2021-11-09 22:45:45 +00:00
Arc
6b6d300058
Update installation.md 2021-11-09 22:44:11 +00:00
Arc
d81559ba2e
Update installation.md 2021-11-09 22:41:24 +00:00
Arc
3b8920b436
Update installation.md 2021-11-09 22:40:11 +00:00
Arc
17db309f35
Update installation.md 2021-11-09 22:39:20 +00:00
Arc
43060ca0e8
Merge pull request #403 from arcbtc/FastAPI
Added some IF EXISTS
2021-11-09 18:09:18 +00:00
Stefan Stammberger
8ea2d20389
fix: wallets not loading when protobuf is missing 2021-11-09 18:15:07 +01:00
Arc
e721ae1d12
Update installation.md 2021-11-08 09:50:11 +00:00
Stefan Stammberger
768aa05b11
fix: switch from purerpc to grpcio for LND Wallet
purerpc is unmaintained and had some old dependencies.
2021-11-07 17:24:22 +01:00
Tiago vasconcelos
f220797a35 keep port 5000 2021-11-04 15:21:17 +00:00
Tiago vasconcelos
ee34d978d8 install guide fastapi 2021-11-04 15:12:10 +00:00
Stefan Stammberger
24bb2e0dc9
docs: add a section how to define path parameters 2021-09-16 19:25:01 +02:00
Stefan Stammberger
7b69852acc
fix: make check_user_exists() work with FastAPI 2021-09-11 15:18:09 +02:00
Stefan Stammberger
c2551bd765
docs: add another old way of raising exceptions 2021-09-11 12:28:29 +02:00
Stefan Stammberger
d8d8c6b454
docs: add a FastAPI transition documentation 2021-09-10 21:41:37 +02:00
Ben Arc
b02952d99d Added umbrel/tor guide 2021-07-07 10:58:21 +01:00
Arc
ad64972ddf
Update installation.md 2021-07-07 10:57:45 +01:00
Ben Arc
a9163a1456 Added umbrel/tor guide 2021-07-07 10:53:53 +01:00
Fitti
fbda278e42 Fix typos and make small improvements
Credit to Vinnie64 for pointing out one of the errors
2021-06-21 13:53:07 -03:00
Fitti
870a61abe9 Add missing instruction to dev installation guide
The missing data folder will throw an exception:
`sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file`
2021-06-20 20:57:12 -03:00
Fitti
8472efb1b5 Fix codeblock in guide 2021-06-19 13:34:51 -03:00
TS
558f3acfcb changes configuration of environment for Dockerfile and adds the installation procedure to the documentation 2021-06-09 12:09:31 -03:00
Tiago Vasconcelos
2e8145faac
Documentation Updates (#202)
Updates for user manager and subdomains extensions

Co-authored-by: Tiago Vasconcelos <tvasconcelos@gmail.com>
2021-06-09 12:07:42 -03:00
keblek
a1e12fcd0e Adding clarity for LNPay webhooks 2021-06-09 12:07:08 -03:00
fiatjaf
f6a8e96087 fix note about global virtualenv. 2021-05-22 20:35:37 -03:00
supertestnet
88895f80be
note on virtualenv installation (#185) 2021-04-27 11:22:14 -03:00
Tim K
f131e18969
Update LNPay endpoint 2021-04-11 16:05:21 -04:00
Kristjan
10414be0d2 now payments are finalized and dns registered when the event happens instead when user polls the backend 2021-01-02 22:55:52 +01:00
fiatjaf
a46ca45de0 some readme and docs clarification. 2020-10-15 23:12:32 -03:00
Gabriel Comte
c6bd060d19 docs: fix typo in command 2020-10-13 07:42:01 -03:00
fiatjaf
1d00060419 harden sse connections to backends a little. 2020-10-09 20:55:58 -03:00
fiatjaf
33fa540744 adjust docs to match 91853 2020-10-08 21:51:40 -03:00
fiatjaf
e408febf97 hypercorn -k trio 2020-10-04 23:09:11 -03:00
fiatjaf
f5b8ed8fc6 make lndgrpc work using the purerpc library and a manually-declared method. 2020-10-04 12:06:54 -03:00
fiatjaf
e74cf33f90 broken invoice listener on c-lightning and other fixes around wallets. 2020-10-04 12:05:59 -03:00
fiatjaf
e2f6c20e3b update docs so master is runnable. 2020-10-02 14:59:29 -03:00
Arc
f6e6bf73d3
Pointed people towards a stable release 2020-10-01 18:12:29 +01:00
fiatjaf
f01028eac7 migrate from flask to quart.
also remove all flaskiness from static file serving.
and reference all vendored scripts on the base tempĺate for simplicity.
2020-09-14 16:03:25 -03:00
fiatjaf
ffa3c3f6a6 python -m lnbits 2020-09-04 21:33:30 -03:00
fiatjaf
c965bca41d migration tracking. 2020-09-04 21:33:30 -03:00
Eneko Illarramendi
a651f747ac chore: remove gunicorn and gevent from minimum requirements
It is now up to the user to install these (or other) for production deployment.
More info: https://flask.palletsprojects.com/en/1.1.x/tutorial/deploy/#run-with-a-production-server
2020-09-03 19:38:01 +02:00
Eneko Illarramendi
0d0e00e699 chore: update Pipfile 2020-09-02 14:31:44 +02:00
fiatjaf
479760c5a5
Merge pull request #43 from fiatjaf/lnurlpayserver
description_hash support, spark backend and lnurlp extension.
2020-08-29 14:02:59 -03:00
fiatjaf
0de08dda0b add spark backend and fix c-lightning. 2020-08-29 12:23:01 -03:00
losnappas
efe4b91877
Update extensions.md
Add a skeleton, better than nothing.
2020-08-07 07:37:41 +00:00
Arc
61f736878c
Update installation.md 2020-06-22 15:15:27 +01:00
Arc
f51d44e99b
Update installation.md 2020-06-22 15:14:51 +01:00
Dennis Reimann
c3281399d2
Improve setup instructions and README
- README cleanups and link to documentation
- Improve dev setup instructions
- Fix js linting errors
- Move local setup instructions to installation docs
- Project link fix, closes #42
- Notes about frontend
- Clarify different LND backends
2020-06-12 20:58:37 +02:00
Sebastian Geisler
52aff1128e use https base url to avoid mixed content 2020-05-04 18:25:16 +02:00
Eneko Illarramendi
35fb524e1e Update CNAME 2020-05-04 17:31:53 +02:00
Eneko Illarramendi
01c8e8a23f Create CNAME 2020-05-04 17:27:49 +02:00