CakePHP 3 todo exercise from nuts and bolts of cakephp.
All 6 posts:
- Cake3 … baby steps (step 1 — getting started)
- Cake3 … baby steps (step 2 — setting up)
- Cake3 … baby steps (step 3 — let’s get to work, front-end preparation)
- CakePHP 3 … growing up (step 4 — it’s AJAX time)
- CakePHP 3 … fully grown (step 5 — Model layer and testing)
- CakePHP 3 … the app is mature (step 6 — Controller, JSON testing and a little more…)
Steps to get up and running:
- Install VirtualBox.
- Install Ruby.
- Install Vagrant.
- Install Git.
- In cli,
cd vagrant
and thenvagrant up
. - Populate database:
- SSH into VM:
vagrant ssh
- Use migration to populate database:
cd /var/www/todo
, thenbin/cake migrations migrate
. - In your hosts, add
127.0.0.1 www.todo.local
. - Then in your browser, load http://www.todo.local.