| layout | default |
|---|---|
| parent | For developers |
| title | Installation |
| nav_order | 1 |
Download this repo and install the dependencies.
The application uses Pipenv to manage Python packages. While in development, you will need to install all dependencies:
$ pipenv shell
$ pipenv install --devIf you wish to use a version of Python higher than 3.7:
$ pipenv --python 3.8 install --devYou will need to set the variables in .env.example, and rename the file to .env.
You might also need to install additional packages, depending on the backend wallets you configured.
E.g. when you want to use LND you have to pipenv install lnd-grpc.
Take a look at Polar for an excellent way of spinning up a Lightning Network dev environment.
LNbits uses Flask as an application server.
$ pipenv run flask migrate
$ pipenv run flask runThere is an environment variable called FLASK_ENV that has to be set to development
if you want to run Flask in debug mode with autoreload
The views are build using Vue.js and Quasar.
