configure 487 Bytes
#!/usr/bin/env bash

echo "Vérification de la configuration système..."

if ! which make &> /dev/null
then
    echo "Veuillez installer Make (sudo apt-get install build-essential)"
    exit 1
fi

if ! which node &> /dev/null
then
    echo "Veuillez installer NodeJS (sudo apt-get install nodejs npm)"
    exit 1
fi

if ! which npm &> /dev/null
then
    echo "Veuillez installer NPM (sudo apt-get install npm)"
    exit 1
fi

echo "Préparation..."

npm install

echo "Tout baigne !"