mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-10 04:22:35 +02:00
chore: update install instructions for developers (#2652)
This commit is contained in:
@@ -11,13 +11,16 @@ Thanks for contributing :)
|
|||||||
|
|
||||||
# Run
|
# Run
|
||||||
|
|
||||||
This starts the lnbits uvicorn server
|
Follow the [Basic installation: Option 1 (recommended): poetry](https://docs.lnbits.org/guide/installation.html#option-1-recommended-poetry)
|
||||||
|
guide to install poetry and other dependencies.
|
||||||
|
|
||||||
|
Then you can start LNbits uvicorn server with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
poetry run lnbits
|
poetry run lnbits
|
||||||
```
|
```
|
||||||
|
|
||||||
This starts the lnbits uvicorn with hot reloading.
|
Or you can use the following to start uvicorn with hot reloading enabled:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make dev
|
make dev
|
||||||
@@ -25,6 +28,15 @@ make dev
|
|||||||
poetry run lnbits --reload
|
poetry run lnbits --reload
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You might need the following extra dependencies on clean installation of Debian:
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo apt install nodejs
|
||||||
|
sudo apt install npm
|
||||||
|
npm install
|
||||||
|
sudo apt-get install autoconf libtool libpg-dev
|
||||||
|
```
|
||||||
|
|
||||||
# Precommit hooks
|
# Precommit hooks
|
||||||
|
|
||||||
This ensures that all commits adhere to the formatting and linting rules.
|
This ensures that all commits adhere to the formatting and linting rules.
|
||||||
|
Reference in New Issue
Block a user