Commit Graph

157 Commits

Author SHA1 Message Date
dni ⚡
c24c75ce34 change backend to frontend 2022-12-17 14:45:00 +01:00
dni ⚡
931ecefe15 add admin_ui docs 2022-12-17 12:51:02 +01:00
Arc
5ac3a861ef
Update installation.md 2022-12-07 10:39:59 +00:00
ben
d8a21800f2 Switched steps 2022-12-07 10:29:01 +00:00
Arc
ae23567fbf
Update installation.md 2022-12-07 10:26:30 +00:00
Arc
27b641fe6f
more precise venv python version 3.9 2022-12-01 16:39:40 +00:00
Black Coffee
20b06e4922 Corrected casing of LNbits (not LNBits) throughout repo 2022-11-30 14:14:31 +00:00
ChuckNorrison
4ee571ca71
Documentation for postgresql default port (#1106)
* Documentation for postgresql default port 

A port is necessary for postgresql config. Add postgresql default port 5432 in documentation for LNBITS_DATABASE_URL config

* Update docs/guide/installation.md

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-11-07 11:30:18 +01:00
Arc
7be45d5d91
Update installation.md 2022-10-28 10:22:59 +01:00
Lee Salminen
7d736c3f77
Add FORWARDED_ALLOW_IPS to example fly.io (#1082)
This PR adds the needed `FORWARDED_ALLOW_IPS="*"` environment variable to the fly.io installation method, which is needed to work.
2022-10-26 13:02:35 +02:00
Benjamin Phạm-Bachelart
3814989b3a
Add cliche wallet (#1071) 2022-10-24 11:46:32 +02: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
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
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
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
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
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
callebtc
9505958306 systemd guide 2022-01-27 21:07:47 +01: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
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
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
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
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
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
fiatjaf
a46ca45de0 some readme and docs clarification. 2020-10-15 23:12:32 -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