By now, you should be comfortable with creating projects from scratch. To provide us with a common starting ground, a skeleton project has been included with the project resources for this chapter. Included with this skeleton project are the necessary migrations, data files, controllers, and views that we need to get started. The login system that we'll be using for authentication throughout this chapter is also included. Copy the skeleton project from the project resources folder to your web server and configure it so that it responds to chapter5.example.com
as outlined at the beginning of the chapter, and then perform the following steps to make sure everything is set up:
Adjust the permissions on the
assets
andprotected/runtime
folders so that they are writable by your web server.Next, create the MySQL user and database table that our application will use. If you don't want to alter the provided main configuration file, the following MySQL commands will create...