Installer adjusted for yarn/node
This commit is contained in:
parent
3b1f83445b
commit
ad5d1c3743
@ -1,8 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
whiptail --msgbox "Installing GA Prerequisites" 7 31
|
whiptail --msgbox "Installing GA Prerequisites" 7 31
|
||||||
apt install npm git jq
|
apt install npm git jq -y
|
||||||
|
npm i -g yarn
|
||||||
|
npm i -g n
|
||||||
|
n 12
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo -e "\033[0;31mCould not install GermanAirlines specific prerequisites"
|
echo -e "\033[0;31mCould not install GermanAirlines specific prerequisites"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
tmp=$(mktemp)
|
tmp=$(mktemp)
|
||||||
|
|
||||||
whiptail --msgbox "Installing LAMP + Redis" 7 27
|
whiptail --msgbox "Installing LAMP + Redis" 7 27
|
||||||
apt install apache2 libapache2-mod-php php mysql-server mysql-client php-mysql redis php-redis php-ctype php-curl php-xml php-fileinfo php-gd php-json php-mbstring php-zip
|
apt install apache2 libapache2-mod-php php mysql-server mysql-client php-mysql redis php-redis php-ctype php-curl php-xml php-fileinfo php-gd php-json php-mbstring php-zip -y
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo -e "\033[0;31mapt failed to run"
|
echo -e "\033[0;31mapt failed to run"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user