clarified Raspi-flow

arbadacarba 2023-07-31 20:09:42 +02:00
parent 24ba26552e
commit 91bebd66d4

@ -13,7 +13,11 @@ To understand the differences between the SuperUser, Admin-Users and plain Pleb
## Install Extensions
The LNbits Admin UI lets you change LNbits settings via the LNbits frontend. It is disabled by default and the first time you set the enviroment variable ```LNBITS_ADMIN_UI=true``` in the .env the settings are initialized and saved to the database and will be used (as long the UI is enabled). You will find the .env file within your lnbits/ or lnbits/apps/data folder by extending the command to list files in your directory with ```ls -a``` (only ls is not enough to see systemfiles!) then open it with ```sudo nano lnbits.env```or whatever it is called in your implementation.
The LNbits Admin UI lets you change LNbits settings via the LNbits frontend. It is disabled/not in the config by default and the first time you set the enviroment variable ```LNBITS_ADMIN_UI=true``` in the .env the settings are initialized and saved to the database and will be used (as long the UI is enabled). You will find the .env file within your lnbits/ or lnbits/apps/data folder. Since the .env is a systemfile you need to extend the normal listing view to ```ls -a``` and then open it with ```sudo nano lnbits.env``` (or whatever it is called in your implementation, see ff).
On Raspi youll find the file in /home/lnbits/lnbits and open it there with ```sudo nano .env```. Safe, quit and restart.
Then the file .superuser will be generated within the same directory. Open it and copy the id in there.
You then need to put it right https://www.yourdomain.com/usr=<**here**>
On **MyNode** you can activated the Admin-UI within /mnt/hdd/mynode/lnbits/
On restart of LNbits you will find a new file named ".super_user" containing the superuser-ID in the lnbits folder.