Compare commits

..

29 Commits

Author SHA1 Message Date
Kilian ec661af76b Remove React plugin submodule 2024-11-11 23:16:33 +01:00
Kilian bce5af676e Latest Pt.2 2022-04-25 04:53:44 +02:00
Kilian 328bfaed92 Merge branch 'master' of https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-OctoberPlugins 2022-04-25 04:52:53 +02:00
Kilian 6cc10f9a46 Latest 2022-04-25 04:52:13 +02:00
Kilian Hofmann 4301013547 Latest 2021-09-14 10:10:52 +02:00
Kilian 0adb11a225 Newest Modules 2021-08-14 22:39:54 +02:00
Kilian 49ee51f114 Require 2021-08-14 15:25:34 +02:00
Kilian 72e54f1119 CD 2021-08-14 15:19:35 +02:00
Kilian c560f37742 Merge branch 'master' of https://git.hofmannnet.myhome-server.de/germanairlines/GermanAirlinesVA-OctoberPlugins 2021-08-14 15:02:25 +02:00
Kilian 81161a4db7 Install Script yarn 2021-08-14 15:02:14 +02:00
Kilian 5ced1b668d New Module 2021-08-14 13:02:15 +02:00
Kilian 3c7d3ae605 New DB 2021-08-14 12:59:15 +02:00
Kilian 1b9689c519 Newest Modules 2021-08-13 22:06:12 +02:00
Kilian 500a8b0e51 Newest Modules 2021-08-13 12:07:22 +02:00
Kilian b8e17a352a Newest 2021-08-04 19:51:48 +02:00
Kilian 7c29c03ad3 Require and installer 2021-08-04 19:20:23 +02:00
Kilian bb83e49273 Newest Modules 2021-08-04 19:15:10 +02:00
Kilian 986d75d21a Routes DB installer 2021-08-04 19:04:13 +02:00
Kilian 0b7b800b97 Newest Modules 2021-08-04 19:02:47 +02:00
Kilian a8b86a6471 Newest Modules 2021-08-04 00:02:24 +02:00
Kilian f7b330e2c1 GraphQL DB 2021-08-03 21:59:35 +02:00
Kilian 50c9a49d56 Parcel 2 2021-08-03 17:38:16 +02:00
Kilian ad5d1c3743 Installer adjusted for yarn/node 2021-08-02 22:51:18 +02:00
Kilian 3b1f83445b Routing 2021-08-02 16:42:26 +02:00
Kilian a9e93d50bc React Plugin 2021-08-02 15:52:08 +02:00
Kilian 200fbd8ae1 React Module 2021-08-02 15:37:06 +02:00
Kilian 4b8d5a7c10 Env Adjustemnts befor install due to artisan erroring out 2021-07-30 20:30:18 +02:00
Kilian 0c2a3380d7 Merge branch 'master' of https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-OctoberPlugins 2021-07-29 02:00:45 +02:00
Kilian 6d70d1b81a Auth 2021-07-29 02:00:34 +02:00
14 changed files with 107 additions and 33 deletions
+6
View File
@@ -7,3 +7,9 @@
[submodule "GermanAirlinesVA-Schooling"]
path = GermanAirlinesVA-Schooling
url = https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-Schooling.git
[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
+5 -2
View File
@@ -5,6 +5,9 @@
"require": {
"germanairlinesva/graphql": "dev-master",
"germanairlinesva/schooling": "dev-master",
"germanairlinesva/fleet": "dev-master"
"germanairlinesva/fleet": "dev-master",
"germanairlinesva/react": "dev-master",
"germanairlinesva/routes": "dev-master",
"germanairlinesva/social": "dev-master"
}
}
}
+12
View File
@@ -9,6 +9,10 @@ repos="{
\"type\": \"git\",
\"url\": \"https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-GraphQL.git\"
},
\"ga.react\": {
\"type\": \"git\",
\"url\": \"https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-React.git\"
},
\"ga.schooling\": {
\"type\": \"git\",
\"url\": \"https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-Schooling.git\"
@@ -16,6 +20,14 @@ repos="{
\"ga.fleet\": {
\"type\": \"git\",
\"url\": \"https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-Fleet.git\"
},
\"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="{
+5 -1
View File
@@ -1,8 +1,12 @@
#!/bin/bash
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
echo -e "\033[0;31mCould not install GermanAirlines specific prerequisites"
exit 1
fi
+65
View File
@@ -0,0 +1,65 @@
#!/bin/bash
tmp=$(mktemp)
cd /var/www/ga
whiptail --msgbox "Linking graphs directory" 7 28
mkdir graphql
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not add graphql directory"
exit 1
fi
cd graphql
ln -s ../plugins/germanairlinesva/graphql/graphs
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not link graphs directory"
exit 1
fi
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:www-data -R .
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not set ownership to www-data"
exit 1
fi
@@ -17,7 +17,6 @@ if [ $? != 0 ]; then
exit 1
fi
cd config
whiptail --msgbox "Adding BROADCAST_DRIVER env" 7 31
@@ -27,27 +26,3 @@ if [ $? != 0 ]; then
echo -e "\033[0;31mCould not patch broadcasting config"
exit 1
fi
cd ..
whiptail --msgbox "Linking graphs directory" 7 28
mkdir graphql
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not add graphql directory"
exit 1
fi
cd graphql
ln -s ../plugins/germanairlinesva/graphql/graphs
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not link graphs directory"
exit 1
fi
cd ..
whiptail --msgbox "Setting ownership" 7 21
chown www-data -R .
if [ $? != 0 ]; then
echo -e "\033[0;31mCould not set ownership to www-data"
exit 1
fi
+5 -1
View File
@@ -26,11 +26,15 @@ fi
if [ $? != 0 ]; then
exit 1
fi
./ga_preinstall_setup.sh
if [ $? != 0 ]; then
exit 1
fi
./ga_install.sh
if [ $? != 0 ]; then
exit 1
fi
./ga_setup.sh
./ga_postinstall_setup.sh
if [ $? != 0 ]; then
exit 1
fi
+3
View File
@@ -1,6 +1,9 @@
create database october;
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';
+1 -1
View File
@@ -3,7 +3,7 @@
tmp=$(mktemp)
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
echo -e "\033[0;31mapt failed to run"
exit 1