Commit Graph

212 Commits

Author SHA1 Message Date
ben
44e12f9d3a updated dev article 2022-12-01 19:04:05 +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
Arc
d6d3080d06
Merge pull request #1034 from TrezorHannes/patch-1
updated poetry install notes
2022-10-06 17:47:34 +01:00
Arc
6d55445a1b
Update websockets.md 2022-10-06 17:44:04 +01:00
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