From 18507a4c76abad7cf5e6e9572137d0dc5a977fcc Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Mon, 16 Jul 2018 15:36:21 +0200 Subject: first cake bake, auto-generated files not included for now --- app-from-scratch.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'app-from-scratch.sh') diff --git a/app-from-scratch.sh b/app-from-scratch.sh index 9fcdf90..074d258 100644 --- a/app-from-scratch.sh +++ b/app-from-scratch.sh @@ -227,3 +227,16 @@ editor config/bootstrap.php config/bootstrap_cli.php git checkout -- config/bootstrap.php git add ../app-from-scratch.sh composer.json composer.lock config/bootstrap_cli.php plugins/ git commit -m "Bake : setup and create empty CustomTheme" +# 31a40cfc446c9586f89a4aa69ef76d76d469e5a4 + + +# Baking a cake (generate the CRUD) +cake bake all --theme=CustomTheme --everything +editor config/routes.php +# -$routes->connect('/', ['controller' => 'Pages', 'action' => 'display', 'home']); +# +//$routes->connect('/', ['controller' => 'Pages', 'action' => 'display', 'home']); +# +$routes->redirect('/', ['controller' => 'Adherents'], ['full' => false]); +# -$routes->connect('/', ['controller' => 'Pages', 'action' => 'display', 'home']); +git add ../app-from-scratch.sh config/routes.php +git add src/Model/Entity/empty src/Model/Table/empty tests/Fixture/empty +git commit -m "first cake bake, auto-generated files not included for now" -- cgit v1.1