mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-16 13:01:04 +02:00
Update development doc move lnd dir permissions (#1496)
* Update development doc to explain lnd dir permissions in backend section * Try fix formatting of tor env vars * Try again fix formatting of tor env vars
This commit is contained in:
parent
411f050c93
commit
b020b9aff9
1 changed files with 16 additions and 9 deletions
|
|
@ -21,11 +21,6 @@
|
|||
|
||||
You can go to http://localhost:12995/ to see the containerized squeaknode.
|
||||
|
||||
- You may need to change the permissions of the `~/.lnd` directory after docker containers start:
|
||||
```
|
||||
$ sudo chmod -R 755 ~/.lnd/
|
||||
```
|
||||
|
||||
#### Squeaknode backend
|
||||
|
||||
- Install squeaknode:
|
||||
|
|
@ -35,14 +30,26 @@
|
|||
$ pip install -r requirements.txt
|
||||
$ python setup.py install
|
||||
```
|
||||
- Run squeaknode with authentication disabled:
|
||||
|
||||
- Make sure that `~/.lnd` directory (created by docker container) has read permissions. You may need to change the permissions:
|
||||
```
|
||||
$ SQUEAKNODE_WEBADMIN_ENABLED=TRUE SQUEAKNODE_WEBADMIN_LOGIN_DISABLED=TRUE SQUEAKNODE_WEBADMIN_ALLOW_CORS=TRUE SQUEAKNODE_NETWORK=testnet squeaknode --config config.ini
|
||||
$ sudo chmod -R 755 ~/.lnd/
|
||||
```
|
||||
|
||||
To use a tor proxy, include the following environment variables:
|
||||
- Run squeaknode with authentication disabled:
|
||||
```
|
||||
$ SQUEAKNODE_NODE_TOR_PROXY_IP=127.0.0.1 SQUEAKNODE_NODE_TOR_PROXY_PORT=9150
|
||||
$ SQUEAKNODE_WEBADMIN_ENABLED=TRUE \
|
||||
SQUEAKNODE_WEBADMIN_LOGIN_DISABLED=TRUE \
|
||||
SQUEAKNODE_WEBADMIN_ALLOW_CORS=TRUE \
|
||||
SQUEAKNODE_NETWORK=testnet \
|
||||
squeaknode --config config.ini
|
||||
```
|
||||
|
||||
- To use a tor proxy, include the following environment variables:
|
||||
```
|
||||
$ SQUEAKNODE_NODE_TOR_PROXY_IP=127.0.0.1 \
|
||||
SQUEAKNODE_NODE_TOR_PROXY_PORT=9150 \
|
||||
...
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue