summaryrefslogtreecommitdiff
path: root/app-from-scratch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'app-from-scratch.sh')
-rw-r--r--app-from-scratch.sh13
1 files changed, 13 insertions, 0 deletions
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"