Skip to content
Snippets Groups Projects
Commit 03e7b74b authored by David Trattnig's avatar David Trattnig
Browse files

Call sub-scripts via bash.

parent a6e68c0d
No related branches found
No related tags found
No related merge requests found
...@@ -14,10 +14,10 @@ if [ $mode == "prod" ]; then ...@@ -14,10 +14,10 @@ if [ $mode == "prod" ]; then
fi fi
echo "Installation System Packages ..." echo "Installation System Packages ..."
./script/install-system-packages.sh bash script/install-system-packages.sh
echo "Installation OPAM Packages ..." echo "Installation OPAM Packages ..."
./script/install-opam-packages.sh bash script/install-opam-packages.sh
# Development # Development
...@@ -71,7 +71,7 @@ echo "Create local Logs Folder ..." ...@@ -71,7 +71,7 @@ echo "Create local Logs Folder ..."
mkdir -p logs mkdir -p logs
echo "Installing Web Application Packages ..." echo "Installing Web Application Packages ..."
./script/install-web.sh bash script/install-web.sh
echo "Installing Python Requirements ..." echo "Installing Python Requirements ..."
python3.7 $(which pip3) install -r requirements.txt python3.7 $(which pip3) install -r requirements.txt
...@@ -87,7 +87,7 @@ while true; do ...@@ -87,7 +87,7 @@ while true; do
read -rsn1 input read -rsn1 input
if [ "$input" = "1" ]; then if [ "$input" = "1" ]; then
echo "Creating DB for MariaDB ..." echo "Creating DB for MariaDB ..."
./script/init-db-mariadb.sh bash script/init-db-mariadb.sh
break break
fi fi
if [ "$input" = "2" ]; then if [ "$input" = "2" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment