You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.1 KiB

5 years ago
# Umbrel Box Base Operating system
5 years ago
![Run Release Script on push to MASTER](https://github.com/getumbrel/umbrel-os/workflows/Run%20Release%20Script%20on%20push%20to%20MASTER/badge.svg)
5 years ago
5 years ago
Customized Underlying Raspbian Operating System for the Umbrel box (based on https://github.com/RPi-Distro/pi-gen)
5 years ago
## Config/Build instructions
5 years ago
1. Run ```sudo ./build.sh```
2. Look in deploy/
3. Use etcher to deploy
5 years ago
5 years ago
Alternatively, you may check the latest release too and you may find the image built automatically by github (upon tagging).
## Default logins
Hostname: umbrel.local
Username: umbrel
Password: umbr3lb0x
You may also find them [here](https://github.com/getumbrel/umbrel-os/wiki/Box-System-Defaults)
5 years ago
### Config variables
In the config file there are system defaults, which are used when building the image and for automated builds.
* **GITHUB_USERNAME** - Used if you want to automatically log in to the box without typing a password. This is used at build time.
Then theres other raspbian stuff, that you may find in the [Raspbian documentation](https://github.com/RPi-Distro/pi-gen/blob/master/README.md) which will still work.
## Post bootup checks
5 years ago
For building an API (or scripting), look in /home/umbrel/statuses for the following files
5 years ago
* **disk-partitioned** : meaning the disk is partitioned
5 years ago
* **service-configured** : meaning the umbrel system bootup service is configured and running.
5 years ago
(To add more later as needed)
## Console Commands (Cheat codes)
There is some console commands you can run.
### Lightning Console Commands
#### Get Info
```
docker exec -it "${USER}_lnd_1" lncli getinfo
```
#### Wallet Balance
```
docker exec -it "${USER}_lnd_1" lncli walletbalance
```
#### List Channels
```
docker exec -it "${USER}_lnd_1" lncli listchannels
```
#### Opening a channel
```bash
# where XXX = sats per byte and YYY = the amount
docker exec -it "${USER}_lnd_1" lncli connect pubkey@host:port
docker exec -it "${USER}_lnd_1" lncli open --sat_per_byte=XXX pubkey YYY
# Return value is the txid
```
5 years ago
## TODO:
See the [following list](https://github.com/getumbrel/umbrel-os/labels/TODO)
5 years ago