From 9986e405dc6ae52668c79b1c9fba7b1f793b79da Mon Sep 17 00:00:00 2001 From: doobry Date: Fri, 27 Dec 2024 17:28:38 +0100 Subject: [PATCH] Use sqlite DB in release process to not depend on MySQL --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 931e4fdd..f6052d97 100644 --- a/Makefile +++ b/Makefile @@ -36,8 +36,8 @@ prepare: mkdir -p build release: clean prepare - APP_ENV=prod composer install --no-dev --ignore-platform-reqs - APP_ENV=prod composer dump-autoload + APP_ENV=prod DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" composer install --no-dev --ignore-platform-reqs + APP_ENV=prod DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" composer dump-autoload yarn --pure-lockfile yarn encore production # Create a release tarball