mirror of
https://github.com/runcitadel/core.git
synced 2024-12-28 23:52:17 +00:00
Enable better CLI
This commit is contained in:
parent
2340a57467
commit
6a5902ab15
|
@ -61,6 +61,8 @@ if [[ ! -z "${CITADEL_OS:-}" ]]; then
|
||||||
|
|
||||||
# Apply config.txt changes
|
# Apply config.txt changes
|
||||||
curl https://raw.githubusercontent.com/runcitadel/os/main/stage1/00-boot-files/files/config.txt > /boot/config.txt
|
curl https://raw.githubusercontent.com/runcitadel/os/main/stage1/00-boot-files/files/config.txt > /boot/config.txt
|
||||||
|
|
||||||
|
echo "source ~/citadel/setenv" | tee -a /home/citadel/.bashrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Checkout to the new release
|
# Checkout to the new release
|
||||||
|
|
4
setenv
4
setenv
|
@ -6,10 +6,10 @@
|
||||||
|
|
||||||
CITADEL_ROOT="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))"
|
CITADEL_ROOT="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))"
|
||||||
|
|
||||||
echo "Citadel root directory is ${CITADEL_ROOT}"
|
alias citadel-update="${CITADEL_ROOT}/scripts/update/update"
|
||||||
alias update="${CITADEL_ROOT}/scripts/update/update"
|
|
||||||
alias lncli="docker exec -it lnd lncli"
|
alias lncli="docker exec -it lnd lncli"
|
||||||
alias bitcoin-cli="docker exec -it bitcoin bitcoin-cli"
|
alias bitcoin-cli="docker exec -it bitcoin bitcoin-cli"
|
||||||
alias docker-compose="sudo docker compose"
|
alias docker-compose="sudo docker compose"
|
||||||
alias docker="sudo docker"
|
alias docker="sudo docker"
|
||||||
alias debug="${CITADEL_ROOT}/scripts/debug"
|
alias debug="${CITADEL_ROOT}/scripts/debug"
|
||||||
|
alias app="${CITADEL_ROOT}/scripts/app"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user