diff --git a/server/Makefile b/server/Makefile index ed29ca23..57469c15 100644 --- a/server/Makefile +++ b/server/Makefile @@ -20,6 +20,7 @@ install-not-interactive: 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}" @docker exec opensupports-srv bash -c "cd /var/www/html && chmod 777 -R files" || echo "${red}Please execute 'make run' first${reset}" + @docker exec opensupports-db bash -c "mysql -u root -e \"CREATE DATABASE IF NOT EXISTS development\"" || echo "${red}Please execute 'make run' first${reset}" run: stop @docker run --platform=linux/amd64 -d --network os-net --name opensupports-db -p 4040:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -v $(PWD)/.dbdata/:/var/lib/mysql mysql:5.6