2022-04-25 04:52:53 +02:00
11 changed files with 57 additions and 9 deletions
+3
View File
@@ -13,3 +13,6 @@
[submodule "GermanAirlinesVA-Routes"]
path = GermanAirlinesVA-Routes
url = https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-Routes.git
[submodule "GermanAirlinesVA-Social"]
path = GermanAirlinesVA-Social
url = https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-Social.git
+3 -2
View File
@@ -7,6 +7,7 @@
"germanairlinesva/schooling": "dev-master",
"germanairlinesva/fleet": "dev-master",
"germanairlinesva/react": "dev-master",
"germanairlinesva/routes": "dev-master"
"germanairlinesva/routes": "dev-master",
"germanairlinesva/social": "dev-master"
}
}
}
+4
View File
@@ -24,6 +24,10 @@ repos="{
\"ga.routes\": {
\"type\": \"git\",
\"url\": \"https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-Routes.git\"
},
\"ga.social\": {
\"type\": \"git\",
\"url\": \"https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-Social.git\"
}
}"
require="{
+40 -2
View File
@@ -17,10 +17,48 @@ if [ $? != 0 ]; then
exit 1
fi
cd ..
whiptail --msgbox "Installing packages" 7 23
cd ../plugins/germanairlinesva/fleet
yarn install
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not install fleet packages"
exit 1
fi
cd ../graphql
yarn install
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not install graphql packages"
exit 1
fi
cd ../react
yarn install
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not install react packages"
exit 1
fi
cd ../routes
yarn install
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not install routes packages"
exit 1
fi
cd ../schooling
yarn install
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not install schooling packages"
exit 1
fi
cd ../social
yarn install
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not install social packages"
exit 1
fi
cd /var/www/ga
whiptail --msgbox "Setting ownership" 7 21
chown www-data -R .
chown www-data:www-data -R .
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not set ownership to www-data"
exit 1
+1
View File
@@ -3,6 +3,7 @@ create database germanairlinesva_fleet;
create database germanairlinesva_graphql;
create database germanairlinesva_routes;
create database germanairlinesva_schooling;
create database germanairlinesva_social;
create user 'october'@'localhost' identified by '1582';