NOTICKET: fix config
Some checks failed
Quality Check / Check (push) Failing after 9s

This commit is contained in:
Snoweuph 2024-02-29 22:49:41 +01:00
parent a6603432a5
commit b835677348
Signed by: Snoweuph
GPG key ID: A494330694B208EF
4 changed files with 21 additions and 11 deletions

View file

@ -25,10 +25,10 @@ endif
fresh: ## Starts a Fresh Local Instance
@make down -s
@symfony composer install -s
@npm i .s
@make up .s
@make db-demo s
@symfony composer install
@npm i
@make up -s
@make db-demo -s
##|——[ Code Quality ]————————————————————————————————————————————————————————————————————|
@ -55,9 +55,9 @@ lint-twig: ## Runs Twig Linting
##|——[ Data ]————————————————————————————————————————————————————————————————————————————|
db-demo: ## Writes the Demo Data to the Local Instance
symofny console doctrine:database:drop --if-exists --force
symofny console doctrine:database:create
symofny console doctrine:schema:update --force
symfony console doctrine:database:drop --if-exists --force
symfony console doctrine:database:create
symfony console doctrine:schema:update --force
symfony console doctrine:fixtures:load -n
symfony console cache:clear
@ -65,4 +65,4 @@ db-migration-gen: ## Generates a Migration
symfony console doctrine:migration:diff
db-migration-do: ## Does the Migration
symfony console doctrine:migration:migrate
symfony console doctrine:migration:migrate

View file

@ -32,6 +32,13 @@ current_php_version=$(symfony php -r "echo PHP_MAJOR_VERSION.'.'.PHP_MINOR_VERSI
} && \
printf >&2 "${GREEN_FG}✔ PHP${BLUE_FG} Version ${GREEN_FG}${current_php_version}${BLUE_FG} is ${GREEN_FG}installed${BLUE_FG}.\n"
# Check PHP PDO_MYSQL
php -m | grep -i pdo_mysql >/dev/null 2>&1 || \
{ \
printf >&2 "${RED_FG}✘ PHP PDO_MSQL${YELLOW_FG} is ${RED_FG}not installed${YELLOW_FG}!\n"; \
exit 1; \
}
# Check Composer
command -v composer >/dev/null 2>&1 || \
{ \

View file

@ -9,8 +9,11 @@ COLOR_CLEAR='0'
COLOR_FG='3'
COLOR_BG='4'
COLOR_WHITE='8'
COLOR_BLACK='7'
COLOR_WHITE='9'
COLOR_LIGHT_GRAY='8'
COLOR_GRAY='7'
COLOR_BLACK='0'
COLOR_RED='1'
COLOR_GREEN='2'
COLOR_YELLOW='3'

View file

@ -9,7 +9,7 @@ services:
volumes:
- 'mysql_data:/var/lib/mysql'
environment:
MSQL_ROOT_PASSWORD: 'empty'
MYSQL_ROOT_PASSWORD: 'empty'
###< doctrine/doctrine-bundle ###
volumes: