feat: optimize scripts and makefiles

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-06-30 17:52:55 +08:00
parent e6bf4da430
commit a5147ca564
53 changed files with 144 additions and 114 deletions
+4 -5
View File
@@ -1,6 +1,6 @@
#!/bin/bash
echo "Welcome to the Open-IM-Server installation script."
echo "Welcome to the Open-IM-Server installation scripts."
echo "Please select an deploy option:"
echo "1. docker-compose install"
echo "2. exit"
@@ -145,13 +145,13 @@ EOF
edit_config
edit_enterprise_config
cd script;
cd scripts;
chmod +x *.sh;
./init_pwd.sh;
./env_check.sh;
cd ..;
docker-compose up -d;
cd script;
cd scripts;
./docker_check_service.sh;
}
@@ -167,11 +167,10 @@ case $choice in
3)
;;
4)
echo "Exiting installation script..."
echo "Exiting installation scripts..."
exit 0
;;
*)
echo "Invalid option, please try again."
;;
esac