EasyAdmin Demo
A Symfony demo backend to show EasyAdmin features.
How to install this project
git clone https://github.com/javiereguiluz/easy-admin-demo
cd easy-admin-demo
composer install
- Edit
app/config/parameters.yml
and configure credentials to acces a database for this demo. php bin/console doctrine:database:create
php bin/console doctrine:schema:create
php bin/console doctrine:fixtures:load --append
php bin/console assets:install --symlink
php bin/console server:run
- Browse
http://127.0.0.1:8000/admin/
para ingresar asi:
http://localhost/easy-admin-demo/public
en config/routes.yaml
backend:
resource: '../src/Controller/'
type: annotation
en config/packages/doctrine.yaml
doctrine:
dbal:
default_connection: default
connections:
# A collection of different named connections (e.g. default, conn2, etc)
default:
driver: pdo_mysql
dbname: easy-admin-demo-db
host: localhost
port: 3306
user: root
password:
charset: UTF8
# url: 'sqlite:///%ke
No hay comentarios:
Publicar un comentario