doc(README): update general use example
This commit is contained in:
parent
1b38e01784
commit
65eb50f72e
10
README.md
10
README.md
|
@ -14,12 +14,16 @@ cd server_config
|
||||||
# Decrypt secrets
|
# Decrypt secrets
|
||||||
gpg -d .env.gpg > .env
|
gpg -d .env.gpg > .env
|
||||||
|
|
||||||
|
# Switch to sudo
|
||||||
|
sudo su
|
||||||
|
|
||||||
# Allow execute scripts
|
# Allow execute scripts
|
||||||
sudo chmod +x ./install.sh
|
chmod +x ./install.sh
|
||||||
sudo chmod +x ./deploy.sh
|
chmod +x ./deploy.sh
|
||||||
|
|
||||||
# Install and deploy services
|
# Install and deploy services
|
||||||
sudo ./install.sh --all && sudo ./deploy.sh --all
|
./install.sh --all | tee install.log && \
|
||||||
|
./deploy.sh --all | tee deploy.log
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
|
|
Loading…
Reference in a new issue