Remove unnecessary parts from Makefile

This commit is contained in:
Maxi Redigonda 2022-06-01 06:41:59 -03:00
parent 97e05c29ba
commit 917d67bb28

View File

@ -14,11 +14,7 @@ install:
@docker exec -u root -it opensupports-db bash -c "mysql -u root -e \"CREATE DATABASE IF NOT EXISTS development;\" " || echo "${red}Please execute 'make run' first${reset}"
install-not-interactive:
# echo "${yellow}About to run COMPOSER INSTALL${reset}"
docker exec opensupports-srv bash -c "cd /var/www/html && composer install" || echo "${red}Please execute 'make run' first${reset}"
# echo "${yellow}About to run CREATE DATABASE IF NOT EXISTS${reset}"
# docker exec -u root opensupports-db bash -c "/etc/init.d/mysql status; /etc/init.d/mysql start; mysql -u root -e \"CREATE DATABASE IF NOT EXISTS development;\" " || echo "${red}Please execute 'make run' first${reset}"
# echo "${yellow}About to FINISH INSTALL-NOT-INTERACTIVE${reset}"
setup-vendor-permissions:
@docker exec opensupports-srv bash -c "cd /var/www/html && chmod 777 -R vendor/ezyang" || echo "${red}Please execute 'make run' first${reset}"
@ -56,9 +52,6 @@ stop:
db:
@docker exec -it opensupports-db bash -c "mysql -u root" || echo "${red}Please execute 'make run' first${reset}"
db-sh:
@docker exec -it opensupports-db bash
sh:
@docker exec -it opensupports-srv bash