make make docker myos

This commit is contained in:
fred 2022-12-05 13:22:18 +01:00
parent 017186ddbb
commit 2487607875
4 changed files with 9 additions and 6 deletions

View File

@ -9,7 +9,7 @@ SHELL_FILES ?= $(wildcard .*/*.sh */*.sh */*/*.sh)
all: install tests all: install tests
install: build myos-node up player install: build myos-host up player
player: STACK := User player: STACK := User
player: docker-network-create-$(USER) player: docker-network-create-$(USER)

View File

@ -38,13 +38,19 @@ Gestion des Astronautes, de leurs VISA et VOEUX en mode CLI
``` ```
Lancement API (1234) et MAP (12345) Lancement API (1234) et MAP (12345)
## ./adventure/adventure.sh MODE AVENTURE : Activez votre VISA Astronaute sur une Station !
```
~/.zen/Astroport.ONE/adventure/adventure.sh
```
Trouvez le moyen d'accéder à votre "Station Astroport" en explorant les environs du premier de ce nom. Trouvez le moyen d'accéder à votre "Station Astroport" en explorant les environs du premier de ce nom.
# INSTALLATION (Docker) # INSTALLATION (Docker)
``` ```
sudo apt install git make docker.io
make
make install make install
``` ```

View File

@ -14,9 +14,6 @@ log() {
} }
zen() { zen() {
mkdir -p /dev/shm/tmp \
&& rm -rf /home/zen/.zen/tmp \
&& ln -s /dev/shm/tmp /home/zen/.zen/tmp
[ -d "$ASTROPORT_DIR" ] && cd "$ASTROPORT_DIR" && git pull -q || git clone -q "$ASTROPORT_REPO" "$ASTROPORT_DIR" [ -d "$ASTROPORT_DIR" ] && cd "$ASTROPORT_DIR" && git pull -q || git clone -q "$ASTROPORT_REPO" "$ASTROPORT_DIR"
} }

View File

@ -60,7 +60,7 @@ echo "#############################################"
echo "######### PATIENCE ####" echo "######### PATIENCE ####"
echo "#############################################" echo "#############################################"
for i in git fail2ban npm netcat-traditional inotify-tools curl net-tools libsodium* python3-pip python3-setuptools python3-wheel python3-dotenv python3-gpg python3-jwcrypto python3-brotli mpack; do for i in git make fail2ban npm netcat-traditional inotify-tools curl net-tools libsodium* python3-pip python3-setuptools python3-wheel python3-dotenv python3-gpg python3-jwcrypto python3-brotli mpack; do
if [ $(dpkg-query -W -f='${Status}' $i 2>/dev/null | grep -c "ok installed") -eq 0 ]; then if [ $(dpkg-query -W -f='${Status}' $i 2>/dev/null | grep -c "ok installed") -eq 0 ]; then
echo ">>> Installation $i <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" echo ">>> Installation $i <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
sudo apt install -y $i sudo apt install -y $i