CakePHP Bookmarker Sample Application
This is a sample application that is the result of following the bookmarker tutorial.
Installation & Setup
- Download Composer or update
- Download this repository -
git clone email@example.com:cakephp/bookmarker-tutorial
- Install dependencies with composer -
- Add the schema to a new database.
- Configure your database credentials in
app.php. Make sure to use the same database name as in step 4.
- Start the server
bin/cake server -p 8765.
- Go to http://localhost:8765 in your browser.
If you don't have a local development environment setup, you can use Vagrant to create one. After installing Vagrant run:
This will download a new vagrant image, and run ansible to provision the bookmarking application. Once ansible is complete, you should have a working application available at http://192.168.33.99 .
You can login to the application at http://192.168.33.99/users/login. The
firstname.lastname@example.org and the password is
Before you run Ansible a second time
After the initial provisioning run if you want to re-run ansible, make sure to
ansible/vars/all.yml or ansible will reset your
database state to whats in the SQL dump file.