diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-07-16 15:36:21 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-07-16 15:36:21 +0200 |
commit | 18507a4c76abad7cf5e6e9572137d0dc5a977fcc (patch) | |
tree | ba81961c4ec34788aad9fbd74f52811bdaa60ce8 /app-from-scratch.sh | |
parent | 31a40cfc446c9586f89a4aa69ef76d76d469e5a4 (diff) | |
download | chd_gestion-18507a4c76abad7cf5e6e9572137d0dc5a977fcc.zip chd_gestion-18507a4c76abad7cf5e6e9572137d0dc5a977fcc.tar.gz chd_gestion-18507a4c76abad7cf5e6e9572137d0dc5a977fcc.tar.bz2 |
first cake bake, auto-generated files not included for now
Diffstat (limited to 'app-from-scratch.sh')
-rw-r--r-- | app-from-scratch.sh | 13 |
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" |