chore: update install instructions for developers (#2652)
This commit is contained in:
parent
4732c4b296
commit
596167f443
1 changed files with 14 additions and 2 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue