This probably works like most thing once you done it once you'll realise it is extremely easy. Once you have set up Cakephp with Composer (see our little tutorial 'How to install CakePHP 3 on Xampp' ) All you have to do is the following.
Before you start with Cakebake. Cakebake Bakes a database, so you will need a database schema, either you have to build the database yourself in PHPMyAdmin or download on.
Crucially every table needs an PRIMARY KEY. So each one of my tables starts with an ID which is a PRIMARY KEY and also is set to AUTO_INCREMENT
id, user_name, user_email.
id, users_id, order_name
So that if you have dependencies between id's that they use the correct format for CakeBake to read.
Your database is your MOST CRUCIAL STEP IN THIS WHOLE PROCESS. So make sure it is as close to perfect as you can get it spend proper time on this.
Now, configure your CakePHP3 installation tell it which database to use. In the 'core.php' file, update the HOST, USER, PASSWORD, DATABASE
So for a local Xampp or Wamp installation it will be host (localhost or 127.0.0.1) user (root), password (''), database ('yourdatabase')
Please feel free to email me or comment if you have any questions