File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ echo ' Deprecation notice: The "ddev build-assets" command is deprecated'
4+ echo ' Please use "ddev make build" and "ddev make build-assets" instead'
5+ echo " "
6+
37cd ../easyadminbundle
4- yarn install
5- yarn encore production
6- php ./src/Resources/bin/fix-assets-manifest-file.php
7- ../html/bin/console assets:install --symlink
8+ make build
9+ make build-assets
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ cd ../easyadminbundle
4+ make $@
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ echo ' Deprecation notice: The "ddev run-tests" command is deprecated'
4+ echo ' Please use "ddev make tests" instead'
5+ echo ' '
6+
37cd ../easyadminbundle
4- composer update
5- vendor/bin/simple-phpunit -v
8+ make tests
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# Installing Symfony Framework
4- composer create-project symfony/skeleton:" 7.2 .*" -n
4+ composer create-project symfony/skeleton:" 8.0 .*" -n
55mv -f ./skeleton/* ./
66mv -f ./skeleton/.env ./
77mv -f ./skeleton/.env.dev ./
@@ -30,6 +30,8 @@ ln -s ../../../easyadminbundle/.ddev/example/config/routes/easyadmin.yaml config
3030echo ' DATABASE_URL="mysql://db:db@db:3306/db?serverVersion=10.11.0-MariaDB&charset=utf8mb4"' >> .env.local
3131./bin/console doc:sch:up --force
3232
33+ bin/console assets:install --symlink
34+
3335# Clear Cache
3436sleep 2
3537./bin/console c:c
Original file line number Diff line number Diff line change 1- name : easy-admin-bundle
2- type : php
3- docroot : public
1+ name : " easy-admin-bundle"
2+ type : " php"
3+ docroot : " public"
44no_project_mount : true
5- php_version : " 8.3 "
6- webserver_type : apache-fpm
5+ php_version : " 8.5 "
6+ webserver_type : " apache-fpm"
77router_http_port : " 80"
88router_https_port : " 443"
99xdebug_enabled : false
1010additional_hostnames : []
1111additional_fqdns : []
1212database :
13- type : mariadb
13+ type : " mariadb"
1414 version : " 10.11"
1515use_dns_when_possible : true
1616composer_version : " 2"
1717web_environment : []
18+ webimage_extra_packages : ["build-essential"]
1819nodejs_version : " 22"
1920timezone : " Europe/Berlin"
Original file line number Diff line number Diff line change 77use EasyCorp \Bundle \EasyAdminBundle \Config \MenuItem ;
88use EasyCorp \Bundle \EasyAdminBundle \Controller \AbstractDashboardController ;
99use Symfony \Component \HttpFoundation \Response ;
10- use Symfony \Component \Routing \Attribute \Route ;
1110
12- #[AdminDashboard]
11+ #[AdminDashboard(routePath: ' / ' , routeName: ' admin ' ) ]
1312class DashboardController extends AbstractDashboardController
1413{
15- #[Route('/ ' , name: 'admin ' )]
1614 public function index (): Response
1715 {
18- return $ this ->render ('@EasyAdmin/page/content .html.twig ' );
16+ return $ this ->render ('@EasyAdmin/layout .html.twig ' );
1917 }
2018
2119 public function configureDashboard (): Dashboard
Original file line number Diff line number Diff line change @@ -100,8 +100,10 @@ Symfony Framework project providing example entities and CRUD Controllers.
100100* Checkout the EasyAdmin git repository and switch in the project directory
101101* Perform ` ddev setup ` which starts and provisions the web container
102102* EasyAdmin is available under the URL: https://easy-admin-bundle.ddev.site
103- * To (re-)build frontend assets perform ` ddev build-assets `
104- * To run unit tests perform ` ddev run-tests `
103+ * With ` ddev make <target> ` you can execute predefined tasks from [ ` Makefile ` ] ( ./Makefile ) . Examples:
104+ * To update dependencies (Composer and Yarn): ` ddev make build `
105+ * To (re-)build frontend assets perform ` ddev make build-assets `
106+ * To run unit tests perform ` ddev make tests `
105107
106108## Resources
107109
You can’t perform that action at this time.
0 commit comments