forked from STI/Astroport.ONE
make make docker myos
This commit is contained in:
parent
017186ddbb
commit
2487607875
2
Makefile
2
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)
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue