Compare commits
No commits in common. "f76257a2b437a327f5233e6c644c7f6678c3a459" and "e2f5b04f7f07723f91274614f15e4c0b02bf038a" have entirely different histories.
f76257a2b4
...
e2f5b04f7f
|
@ -16,7 +16,7 @@ sudo chmod +x ./install.sh
|
||||||
sudo chmod +x ./deploy.sh
|
sudo chmod +x ./deploy.sh
|
||||||
|
|
||||||
# Install and deploy services
|
# Install and deploy services
|
||||||
sudo ./install.sh --all && sudo ./deploy.sh --all
|
sudo ./install.sh * && sudo ./deploy.sh *
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
@ -37,7 +37,7 @@ sudo (bash|sh|zsh) ./install.sh [SERVICES...]
|
||||||
```
|
```
|
||||||
- Install all services.
|
- Install all services.
|
||||||
```sh
|
```sh
|
||||||
sudo ./install.sh -a
|
sudo ./install.sh *
|
||||||
```
|
```
|
||||||
|
|
||||||
## Déploiement
|
## Déploiement
|
||||||
|
@ -60,5 +60,5 @@ sudo (bash|sh|zsh) ./deploy.sh [SERVICES...]
|
||||||
```
|
```
|
||||||
- Install all services.
|
- Install all services.
|
||||||
```sh
|
```sh
|
||||||
sudo ./deploy.sh -a
|
sudo ./deploy.sh *
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
APPS=$@
|
APPS=$@
|
||||||
|
|
||||||
if [[ $# -eq 1 ]]; then
|
if [[ $1 == "*" && $# -eq 1 ]]; then
|
||||||
if [[ $1 == "--all" $1 == "-a" ]]; then
|
APPS=$(ls -d */)
|
||||||
APPS=$(ls -d */)
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for app in $APPS
|
for app in "$APPS"
|
||||||
do
|
do
|
||||||
echo "[server_config] > Deploying: $app"
|
echo "[server_config] > Deploying: $app"
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,11 @@ source ./_requirements.sh
|
||||||
# Install services
|
# Install services
|
||||||
APPS=$@
|
APPS=$@
|
||||||
|
|
||||||
if [[ $# -eq 1 ]]; then
|
if [[ $1 == "*" && $# -eq 1 ]]; then
|
||||||
if [[ $1 == "--all" $1 == "-a" ]]; then
|
APPS=$(ls -d */)
|
||||||
APPS=$(ls -d */)
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for app in $APPS
|
for app in "$APPS"
|
||||||
do
|
do
|
||||||
echo "[server_config] > Installing: $app"
|
echo "[server_config] > Installing: $app"
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
nala install -y iptables
|
nala install iptables
|
||||||
|
|
Loading…
Reference in a new issue