Try with starting the service first
This commit is contained in:
parent
a8e4dd88fe
commit
74c34ff444
|
@ -15,7 +15,7 @@ install:
|
|||
|
||||
install-not-interactive:
|
||||
@docker exec opensupports-srv bash -c "cd /var/www/html && composer install" || echo "${red}Please execute 'make run' first${reset}"
|
||||
@docker exec opensupports-db bash -c "mysql -u root --protocol=tcp -e \"CREATE DATABASE IF NOT EXISTS development;\" " || echo "${red}Please execute 'make run' first${reset}"
|
||||
@docker exec opensupports-db bash -c "service mysqld start; mysql -u root -e \"CREATE DATABASE IF NOT EXISTS development;\" " || echo "${red}Please execute 'make run' first${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}"
|
||||
|
|
Loading…
Reference in New Issue