diff --git a/Makefile b/Makefile index baa7dbaf..1b0a704b 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ SHELL_FILES ?= $(wildcard .*/*.sh */*.sh */*/*.sh) all: install tests -install: build myos-node up player +install: build myos-host up player player: STACK := User player: docker-network-create-$(USER) diff --git a/README.md b/README.md index 506c0de7..48565f9b 100644 --- a/README.md +++ b/README.md @@ -38,13 +38,19 @@ Gestion des Astronautes, de leurs VISA et VOEUX en mode CLI ``` 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. # INSTALLATION (Docker) ``` +sudo apt install git make docker.io +make make install ``` diff --git a/docker/astroport/astroport.sh b/docker/astroport/astroport.sh index b999c493..2247fd85 100755 --- a/docker/astroport/astroport.sh +++ b/docker/astroport/astroport.sh @@ -14,9 +14,6 @@ log() { } 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" } diff --git a/install.sh b/install.sh index b9e02b3f..422e2683 100755 --- a/install.sh +++ b/install.sh @@ -60,7 +60,7 @@ echo "#############################################" echo "######### PATIENCE ####" 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 echo ">>> Installation $i <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" sudo apt install -y $i